2/location/pois/search/by location/en
location/pois/search/by_location
Return POI informations according to location by keyword.
URL
https://api.weibo.com/2/location/pois/search/by_location.json
Supported Formats
JSON
HTTP Request Method
GET
Requires Login
true
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. |
q | false | string | Keyword to be queried.It must be encoded by URLencode.Parameter 'q' or parameter 'category' must be provided. |
category | false | string | Classification code to be queried.Parameter 'q' or parameter 'category' must be provided.See 'classification code mapping table' for the value range. |
city | false | string | City code.Default is countrywide. |
page | false | int | The returned page.Default is 1.The max value is 40. |
count | false | int | The returned count for every page.Default is 10.The max value is 20. |
Notes
None
Response
JSON Example
{ "pois": [ { "pid": "P010A00CHR9", "longitude": "116.39794", "latitude": "39.90817", "name": "理想国际大厦", "city_name": "北京", "province_name": "北京", "address": "北四环西路58号", "telephone": "62670000", "category": "110201", "navigator": "写字楼", "pic_url": "http://sinaimg/34759324759.jpg" }, ... ], "total_number": 36 }
See the Error Code Description for the error information details.
Field Description
None
Others
None
文档更新时间: 30 January 2012