GET /v2/transit/grt/stops.{format}
This method returns list of all GRT bus stops
Name | Value | Name | Value |
Request Protocol | GET | Requires API Key | Yes |
Method ID | 1913 | Enabled | Yes |
Service Name | poi | Service ID | 349 |
Information Steward | GTFS data from agency | Data Type | CSV |
Update Frequency | Every day | Cache Time | 0 seconds |
- Any value can be
null
GET /v2/transit/grt/stops.{format}
Parameter | Type | Required | Description |
format | input | yes | The format of the output |
key | filter | yes | Your API key |
callback | filter | no | JSONP callback format |
Output Formats
- json
- geojson
- xml
GET /v2/transit/grt/stops.{format}
- https://api.uwaterloo.ca/v2/transit/grt/stops.json
- https://api.uwaterloo.ca/v2/transit/grt/stops.geojson
- https://api.uwaterloo.ca/v2/transit/grt/stops.xml
- https://api.uwaterloo.ca/v2/transit/grt/stops.json?callback=myResponse
Field Name | Type | Value Description |
id | string | Stop id |
name | string | Stop name |
description | string | Stop description |
parent | string | Stop parent id |
zone_id | string | Stop zone id |
location_type | string | Location type (stop, etc) |
url | string | Stop URL (if applicable) |
latitude | float | Stop latitude |
longitude | float | Stop longitude |
Any value can be null
{
"meta":{
"requests":811672,
"timestamp":1453160695,
"status":200,
"message":"Request successful",
"method_id":1931,
"method":{
}
},
"data":[
{
"id":"1000",
"name":"Frederick \/ King",
"description":null,
"parent":null,
"zone_id":null,
"location_type":"stop",
"url":null,
"latitude":43.449665,
"longitude":-80.487205
},
{
"id":"1001",
"name":"Frederick \/ Irvin",
"description":null,
"parent":null,
"zone_id":null,
"location_type":"stop",
"url":null,
"latitude":43.452326,
"longitude":-80.484192
},
{
"id":"1002",
"name":"Frederick \/ Otto",
"description":null,
"parent":null,
"zone_id":null,
"location_type":"stop",
"url":null,
"latitude":43.452995,
"longitude":-80.482913
},
{
"id":"1003",
"name":"Frederick \/ Samuel",
"description":null,
"parent":null,
"zone_id":null,
"location_type":"stop",
"url":null,
"latitude":43.454826,
"longitude":-80.479511
},
{
"id":"1004",
"name":"Frederick \/ Merner",
"description":null,
"parent":null,
"zone_id":null,
"location_type":"stop",
"url":null,
"latitude":43.45621,
"longitude":-80.476903
},
{
"id":"1005",
"name":"Union \/ Dover",
"description":null,
"parent":null,
"zone_id":null,
"location_type":"stop",
"url":null,
"latitude":43.463995,
"longitude":-80.509249
},
{
"id":"1006",
"name":"Frederick Street Mall",
"description":null,
"parent":null,
"zone_id":null,
"location_type":"stop",
"url":null,
"latitude":43.457923,
"longitude":-80.473576
}
]
}