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

Latest commit

 

History

History
229 lines (198 loc) · 4.37 KB

File metadata and controls

229 lines (198 loc) · 4.37 KB

List of motorcycle allowed parking lots

GET /v2/parking/lots/motorcycle.{format}

Description

This method returns list of motorcycle allowed parking lots across campus.

Summary

Name Value Name Value
Request Protocol GET Requires API Key Yes
Method ID 1907 Enabled Yes
Service Name parking Service ID 293
Information Steward Parking Services Data Type CSV
Update Frequency Upon pull request Cache Time 0 seconds

Notes

  • Any value can be null

Sources

Parameters

GET /v2/parking/lots/motorcycle.{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/parking/lots/motorcycle.{format}

Response

Field Name Type Value Description
lot_name string Name of the parking lot
description string Parking lot 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":811532,
    "timestamp":1453157391,
    "status":200,
    "message":"Request successful",
    "method_id":1907,
    "method":{
      
    }
  },
  "data":[
    {
      "name":"ML-EV3",
      "description":"Modern Languages (ML); Environment 3 (EV3)",
      "note":null,
      "latitude":43.468597619611,
      "longitude":-80.543191842735
    },
    {
      "name":"H",
      "description":"Psychology, Anthropology, Sociology (PAS)",
      "note":null,
      "latitude":43.466832595888,
      "longitude":-80.540616586804
    },
    {
      "name":"DWE-SCH",
      "description":"Douglas Wright Engineering Building (DWE); South Campus Hall (SCH)",
      "note":null,
      "latitude":43.469620169043,
      "longitude":-80.539586294297
    },
    {
      "name":"UWP",
      "description":"University of Waterloo Place (UWP)",
      "note":null,
      "latitude":43.470522215549,
      "longitude":-80.536178039293
    },
    {
      "name":"PAC-LHI-UC",
      "description":"Physical Activities Complex (PAC); Lyle S. Hallman Institute for Health Promotion (LHI); University Club (UC)",
      "note":null,
      "latitude":43.472745523991,
      "longitude":-80.546554997563
    },
    {
      "name":"V1-UC",
      "description":"Student Village 1 (V1); University Club (UC)",
      "note":null,
      "latitude":43.472316128251,
      "longitude":-80.548830851912
    },
    {
      "name":"N",
      "description":"Commissary (COM)",
      "note":null,
      "latitude":43.475101340233,
      "longitude":-80.543452415788
    },
    {
      "name":"E6-ECH",
      "description":"Engineering 6 (E6); East Campus Hall (ECH)",
      "note":null,
      "latitude":43.473501533583,
      "longitude":-80.539626851678
    }
  ]
}