Core Weather

Languages

Endpoint:https://dataservice.accuweather.com

Supported languages

GET
https://dataservice.accuweather.com
/translations/v1/languages

Returns a list of all available languages.

Supported languagesquery Parameters

  • formatstring

    A string value that specifies what type of format to provide the response.

    Default: json

Supported languagesHeaders

  • Authorizationstring · required

    The Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.

Supported languagesResponses

OK

  • IDinteger · int32 · required

    Unique ID for the language

  • Namestring · minLength: 1 · required

    The internal name of the language

  • DisplayNamestring · minLength: 1 · required

    Display Name (English) of the language

  • LocalizedNamestring · minLength: 1 · required

    The translated name of the language

  • ISOstring · minLength: 1 · required

    The culture code for the language

  • LanguageTypeinteger · int32 · required

    The unique ID for the language type

  • MicroSoftNamestring · minLength: 1 · required

    The Microsoft display name of the language

  • MicroSoftCodestring · minLength: 1 · required

    The Microsoft culture code for the language

  • TimeStampstring · date-time · required

Language id by language code

GET
https://dataservice.accuweather.com
/translations/v1/languages/code/{languageCode}

Specify a language code (such as en-us) to return the language Id number.

Language id by language codepath Parameters

  • languageCodestring

    A string that indicates the language in which to return the response. More information can be found here.

    Example: en-us

Language id by language codequery Parameters

  • formatstring

    A string value that specifies what type of format to provide the response.

    Default: json

Language id by language codeHeaders

  • Authorizationstring · required

    The Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.

Language id by language codeResponses

OK

integer · int32

Language code by language id

GET
https://dataservice.accuweather.com
/translations/v1/languages/id/{languageID}

Specify a language Id number to return the language code.

Language code by language idpath Parameters

  • languageIDinteger · int32 · required

    A unique ID that designates a specific language.

    Example: 1

Language code by language idquery Parameters

  • formatstring

    A string value that specifies what type of format to provide the response.

    Default: json

Language code by language idHeaders

  • Authorizationstring · required

    The Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.

Language code by language idResponses

OK

string