Last Updated on : 2023-06-20 12:39:04download
Get a list of all countries according to a specified language. For more information, see Wikipedia.
GET: /v3.0/iot-03/all-countries
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
lang | String | query | true | The language pack. |
Parameter name | Type | Description |
---|---|---|
result | List | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
country_code | String | The country or region code. |
national_number | String | The area code. |
country_name | String | The name of a specified country or region. |
country_phonetic_alphabet | String | The pinyin of a specified country name. |
GET: /v3.0/iot-03/all-countries?lang=zh
[
{
"country_phonetic_alphabet": "afuhan",
"national_number": "93",
"country_code": "AF",
"country_name": "Afghanistan"
},
{
"country_phonetic_alphabet": "aerbaniya",
"national_number": "355",
"country_code": "AL",
"country_name": "Albania"
}
]
For more information, see error code.
Error code | Description |
---|---|
7004 | The service of querying the information of countries and cities has expired. |
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback