Languages

Get information about the countries currently supported in AppTweak

The languages endpoint returns a list of the supported languages in AppTweak for a given store and optionally a list of countries.

Indeed, Apple and Google have some slight differences in terms of stores.

This endpoint costs 1 credit per call.

Default language

For endpoints that have language field as query parameter, the default language of the country will be used if the field is left empty. To find out which language is considered as the default one, you can refer to the boolean field "default" in the response of this endpoint.

In the example below, the default language for the country Switzerland is German.

{
  "result": [
    {
      "country_code": "ch",
      "language_code": "de",
      "default": true
    },
    {
      "country_code": "ch",
      "language_code": "fr",
      "default": false
    },
    {
      "country_code": "ch",
      "language_code": "it",
      "default": false
    },
    {
      "country_code": "ch",
      "language_code": "en",
      "default": false
    }
  ],
  "metadata": {
    "request": {
      "path": "/api/public/apptweak/languages",
      "params": {
        "store": "ios",
        "countries": [
          "ch"
        ]
      },
      "cost": 1,
      "max_credit_cost": 1,
      "status": 200
    },
    "response": null
  }