2/common/code to location/en
common/code_to_location
Return address names by address codes.
URL
https://api.weibo.com/2/common/code_to_location.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. |
codes | true | string | Address codes to be queried.These are separated by comma. |
Notes
None
Response
JSON Example
[ { "100": "卡塔尔" }, ... ]
See the Error Code Description for the error information details.
Field Description
None
Others
None
文档更新时间: 2012-01-29