Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Latest commit

 

History

History
177 lines (146 loc) · 2.77 KB

grt.md

File metadata and controls

177 lines (146 loc) · 2.77 KB

Lists information about GRT

GET /v2/transit/grt.{format}

Description

This method returns list of transit agencies that GRT connects to

Summary

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

Notes

  • Any value can be null

Sources

Parameters

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

Examples

GET /v2/transit/grt.{format}

Response

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

Output

JSON

{
  "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"
    }
  ]
}