Translations API Parameters

Request parameters | Response parameters



Translations API Query String Parameters

Parameter Description Default value
api Hostname to be used only in production: api.accuweather.com N/A Required
apidev Hostname to be used only in development: apidev.accuweather.com N/A Required
apikey Unique code used to access the API N/A Required
version Version of the API v1 Required
locationkey Unique ID used to search for a specific location N/A Required
groupID Id of the particular group that translations are provided for  N/A Required
format Format of the response JSON Optional
language Culture code (string) or Unique ID (int) indicating the language in which to return the resource en-us Optional
phrase Unique code indicating the phrase to translate N/A Required
q Search term used to find phrases for translation N/A Required
languageId Unique ID (int) indicating the language to use N/A Required
languageCode Culture code (string) indicating the language to use N/A Required

Top of Page

 

 



Translations API Response Parameters

Parameter Description
Languages
DisplayName Display Name (English) of the language
ID Unique ID for the language
ISO The culture code for the language
LanguageType The unique ID for the language type
LocalizedName The translated name of the language
MicroSoftCode The Microsoft culture code for the language
MicroSoftName The Microsoft display name of the language
Name The internal name of the language
Translations
LanguageCode Culture code of the language for which the phrase is translated
PhraseCode Word (or phrase - without spaces) to use as a key for joining the translations
Text Translated word or phrase
DataCode Key to use for translation

Top of Page