Skip to content
This repository has been archived by the owner on May 16, 2020. It is now read-only.

Latest commit

 

History

History
56 lines (48 loc) · 1.55 KB

File metadata and controls

56 lines (48 loc) · 1.55 KB

GET transportation/parking

Returns a list of parking spots.

URL

https://cobalt.qas.im/api/1.0/transportation/parking

Parameters

key (required) Your unique API key. If you do not provide this, you must set the Authorization header to your API key instead.


limit (optional) The number of results to return, up to a maximum of 100 per request. The default value is 10.


skip (optional) The number of results to skip. The default value is 0.


sort (optional) The sorting procedure to be used on the returned list. A + followed by a parameter implies ascending, and a - implies descending. You can also stack procedures, separating them with a space: +id -title. The default value is +id.

Example

https://cobalt.qas.im/api/1.0/transportation/parking?limit=2
[
  {
    "id":"0123",
    "title":"371 Bloor Street West",
    "building_id":"014",
    "campus":"UTSG",
    "type":"car",
    "description":"Cash Parking\n$3.00 half hour\n$10.00 Maximum until 10pm\nOvernight parking 4pm to 6:0am $7.00\nWeekends $7.00\nUnreserved Permit Parking\n24/7 parking \nCash parking receipts are not transferable and are valid at the parking lot where purchased.",
    "lat":43.66623,
    "lng":-79.4025,
    "address":"371 Bloor St W, Toronto, ON M5S 2R7, Canada"
  },
  {
    "id":"0127",
    "title":"Bicycle Parking:Banting Institute",
    "building_id":"16",
    "campus":"UTSG",
    "type":"bicycle",
    "description":"3 post & ring bicycle stands",
    "lat":43.66034,
    "lng":-79.38876,
    "address":""
  }
]