Line Info
The goal of the Line Info service is to provide information about transit lines going through a certain station.
.../v3/lines/by_stn_id.{format}?<parameter>=<value>...
Parameter | Data Type | Description |
---|---|---|
app_id | String | A 20 bytes Base64 URL-safe encoded string used for the authentication of the client application. |
app_code | String | A 20 bytes Base64 URL-safe encoded string used for the authentication of the client application. |
stnId | String | Specifies station id where the lines are located. |
Parameter | Data Type | Description |
---|---|---|
max | Integer | Specifies the maximum number of unique lines the response should include. Minimum = 1, maximum = 20 The default is 10 lines. |
modes | String | Specifies the transit type filter used to determine which types of transit to include in the response. |
graph | Integer | Requests coordinate pairs to allow the drawing of a polyline for the route. The possible values are: 1 (enabled), 0 (disabled) The default is 0. |
name | String | Specifies the line name to search. |
strict | Integer | Specifies which station's line info the response should include. Specify The default is 1. |