地区和语言
API + MCPGET/v3/management/locations
对该端点的请求免费,不会消耗任何 API 单位。
查询参数
country_codestring必填
由两个字母组成的国家/地区代码(ISO 3166-1 alpha-2)。
允许的值:adaeafagaialamaoarasatauawazba…
us_statestring
由两个字母组成的美国州代码(ISO 3166-2:US)。仅当 country_code 设置为 us 时才需要。
允许的值:alakazarcacoctdedcflgahiidilin…
outputstring
输出格式。
允许的值:jsonphp
响应
locationobject
country_codestring
该位置的国家代码。
languagesarray<tuple<string, string>>
指定国家代码对应的语言代码及名称列表。
locationsarray<tuple<integer, string>>
指定国家代码对应的位置 ID 和名称列表。
errorstring
errorstring
errorstring
errorstring
errorstring