GET /v2/transit/grt.{format}
This method returns list of transit agencies that GRT connects to
Name | Value | Name | Value |
Request Protocol | GET | Requires API Key | Yes |
Method ID | 1933 | 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.{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
- xml
GET /v2/transit/grt.{format}
- https://api.uwaterloo.ca/v2/transit/grt.json
- https://api.uwaterloo.ca/v2/transit/grt.xml
- https://api.uwaterloo.ca/v2/transit/grt.json?callback=myResponse
Field Name | Type | Value Description |
name | string | Name of the agency |
url | string | Agency website |
timezone | string | Agency stop data's timezone |
language | string | Stop data language |
phone | string | Agency phone number |
Any value can be null
{
"meta":{
"requests":811694,
"timestamp":1453161508,
"status":200,
"message":"Request successful",
"method_id":1933,
"method":{
}
},
"data":[
{
"name":"Grand River Transit",
"url":"http:\/\/www.grt.ca",
"timezone":"America\/New_York",
"language":null,
"phone":"519-585-7555"
}
]
}