2/common/get country/en
Xuezheng (讨论 | 贡献)
(Created page with '{{api_desc_v2_en| uri=common/get_country| desc=Return countries list.| httpMethod=GET| needAuth=false| level={{Api_L1_en}}| rateLimit=true| params= {{api_args|capital|false|strin…')
(Created page with '{{api_desc_v2_en| uri=common/get_country| desc=Return countries list.| httpMethod=GET| needAuth=false| level={{Api_L1_en}}| rateLimit=true| params= {{api_args|capital|false|strin…')
2012年1月29日 (日) 15:00的最后版本
common/get_country
Return countries list.
URL
https://api.weibo.com/2/common/get_country.json
Supported Formats
JSON
HTTP Request Method
GET
Requires Login
false
See the Login and Authorization Mechanism Statement for login and authorization details.
Requests Count Limitation
Level:Normal
Count Limitation:true
See the Interface Access Rights Statement for the request count limitation details.
Request Parameters
Requires | Type and Range | Description | |
---|---|---|---|
source | false | string | This parameter is not needed when using OAuth.The value of this parameter is the AppKey. |
access_token | false | string | This parameter is required when using OAuth.You will get the access_token after oauth authorization. |
capital | false | string | The first letter of the countries,a-z.Return all of the countries if the parameter is not provided.Default is not provided. |
language | false | string | The returned language version.zh-cn:Simplified Chinese; zh-tw:Traditional Chinese; english:English;Default is zh-cn. |
Notes
None
Response
JSON Example
[ { "001": "中国" }, ... ]
See the Error Code Description for the error information details.
Field Description
None
Others
None
文档更新时间: 2012-01-29