2/location/line/bus station/en

跳转到: 导航, 搜索

location/line/bus_station

Return bus station information by keyword.

URL

https://api.weibo.com/2/location/line/bus_station.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 true string Keyword to be queried.It must be encoded by URLencode.
city false string City code.Default is BeiJing search.
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 50.

Notes

None

Response

JSON Example

{
    "stations": [
        {
            "name": "西直门",
            "longitude": "116.21946",
            "latitude": "116.21946",
            "district": "110102",
            "station_info": "地铁4号线(公益西桥-安河桥北)",
            "address": "北京西直门",
            "telephone": ""
        },
        ...
    ],
    "total_number": 6
}

See the Error Code Description for the error information details.

Field Description

None

Others

None



Language: [[{{{2/uri}}}|中文]]