2/location/geo/gps to offset/en
location/geo/gps_to_offset
Return deviated coordinate by GPS coordinate.
URL
https://api.weibo.com/2/location/geo/gps_to_offset.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. |
coordinate | true | string | GPS coordinate.Longitude and latitude are separated by comma. |
Notes
None
Response
JSON Example
{ "geos": [ { "longitude": "116.39794", "latitude": "39.90817" } ] }
See the Error Code Description for the error information details.
Field Description
Returned Field | Field Type | Field Description |
---|---|---|
longitude | string | Deviated longitude coordinate |
latitude | string | Deviated latitude coordinate |
Others
None
文档更新时间: 30 January 2012