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

Latest commit

 

History

History
208 lines (177 loc) · 3.79 KB

greyhound.md

File metadata and controls

208 lines (177 loc) · 3.79 KB

List of Greyhound bus stops

GET /v2/poi/greyhound.{format}

Description

This method returns list of Greyhound bus stops across city.

Summary

Name Value Name Value
Request Protocol GET Requires API Key Yes
Method ID 1879 Enabled Yes
Service Name poi Service ID 349
Information Steward Campus Map Team Data Type CSV
Update Frequency Upon pull request Cache Time 0 seconds

Notes

  • Any value can be null

Sources

Parameters

GET /v2/poi/greyhound.{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

Examples

GET /v2/poi/greyhound.{format}

Response

Field Name Type Value Description
name string Name of the location
description string Location description
note string Any additional notes
latitude float Latitude of the parking lot
longitude float Longitude of the parking lot

Any value can be null

Output

JSON

{
  "meta": {
    "requests": 1328,
    "timestamp": 1476568844,
    "status": 200,
    "message": "Request successful",
    "method_id": 1889,
    "method": {
      
    }
  },
  "data": [
    {
      "name": "University of Waterloo",
      "description": "North of B.C. Matthews Hall (BMH)",
      "note": "Kitchener Charles St W; Kitchener Sportsworld;  Cambridge Glc, ON;  Guelph, Guelph U Gordon & College;  Guelph Univ Centre Loop;  Guelph Kortnight & Gor; Guelph Aberfoyle Brock Rd; Toronto U & Wellington; Toronto",
      "latitude": 43.473999090941,
      "longitude": -80.545923308322
    },
    {
      "name": "Wilfrid Laurier University",
      "description": null,
      "note": null,
      "latitude": 43.47510513598,
      "longitude": -80.527579188632
    },
    {
      "name": "Charles St. Transit Terminal",
      "description": null,
      "note": null,
      "latitude": 43.44943789805,
      "longitude": -80.492265104852
    },
    {
      "name": "Kitchener Sportsworld",
      "description": null,
      "note": null,
      "latitude": 43.409977,
      "longitude": -80.393938
    },
    {
      "name": "Cambridge",
      "description": null,
      "note": null,
      "latitude": 43.399403314036,
      "longitude": -80.330365309116
    }
  ]
}