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

Latest commit

 

History

History
257 lines (226 loc) · 5.12 KB

permit.md

File metadata and controls

257 lines (226 loc) · 5.12 KB

List of permit based parking lots

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

Description

This method returns list of permit based 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/permit.{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/permit.{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":811535,
    "timestamp":1453157407,
    "status":200,
    "message":"Request successful",
    "method_id":1907,
    "method":{
      
    }
  },
  "data":[
    {
      "name":"O",
      "description":"Optometry Building (OPT)",
      "note":null,
      "latitude":43.47656,
      "longitude":-80.54424
    },
    {
      "name":"K",
      "description":"William Lyon Mackenzie King Village (MKV); Student Village 1 (V1)",
      "note":null,
      "latitude":43.47231,
      "longitude":-80.55181
    },
    {
      "name":"R",
      "description":"B.C. Matthews Hall (BMH); Lyle S. Hallman Institute for Health Promotion (LHI); Federation Hall (FED)",
      "note":null,
      "latitude":43.47395,
      "longitude":-80.54704
    },
    {
      "name":"L",
      "description":"B.C. Matthews Hall (BMH); Energy Research Centre (ERC); Central Services Building (CSB); Commissary (COM)",
      "note":null,
      "latitude":43.47431,
      "longitude":-80.54412
    },
    {
      "name":"B",
      "description":"Engineering 5 (E5); William G. Davis Computer Research Centre (DC); East Campus Hall (ECH)",
      "note":null,
      "latitude":43.47373,
      "longitude":-80.5404
    },
    {
      "name":"T",
      "description":"Minota Hagey Residence (MHR)",
      "note":null,
      "latitude":43.46518,
      "longitude":-80.54225
    },
    {
      "name":"H",
      "description":"Psychology, Anthropology, Sociology (PAS); J.G. Hagey Hall of the Humanities (HH); William M. Tatham Centre for Co-operative Education & Career Action (TC)",
      "note":null,
      "latitude":43.46741,
      "longitude":-80.54036
    },
    {
      "name":"A",
      "description":"South Campus Hall (SCH); Douglas Wright Engineering Building (DWE)",
      "note":null,
      "latitude":43.46922,
      "longitude":-80.53739
    },
    {
      "name":"N",
      "description":"B.C. Matthews Hall (BMH)",
      "note":null,
      "latitude":43.47462,
      "longitude":-80.54516
    },
    {
      "name":"Q",
      "description":"East Campus 2 (EC2); East Campus 3 (EC3); General Services Complex (GSC)",
      "note":null,
      "latitude":43.47418,
      "longitude":-80.54114
    },
    {
      "name":"X",
      "description":"Optometry Building (OPT); Columbia Icefield (CIF)",
      "note":null,
      "latitude":43.47672,
      "longitude":-80.5471
    },
    {
      "name":"X",
      "description":"Optometry Building (OPT); Columbia Icefield (CIF)",
      "note":null,
      "latitude":43.47742,
      "longitude":-80.54593
    }
  ]
}