GET /v2/parking/watpark.{format}
This method returns real-time parking counts in select parking lots across campus.
| Name | Value | Name | Value |
| Request Protocol | GET | Requires API Key | Yes |
| Method ID | 1823 | Enabled | Yes |
| Service Name | parking | Service ID | 293 |
| Information Steward | WATPark | Data Type | JSON Feed |
| Update Frequency | Every request (live) | Cache Time | 0 seconds |
- Usage won't increase if there is no data returned
- We cannot modify the data from this method
- Any value can be
null
GET /v2/parking/watpark.{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
GET /v2/parking/watpark.{format}
- https://api.uwaterloo.ca/v2/parking/watpark.json
- https://api.uwaterloo.ca/v2/parking/watpark.xml
- https://api.uwaterloo.ca/v2/parking/watpark.json.json?callback=myResponse
| Field Name | Type | Value Description |
| lot_name | string | Name of the parking lot |
| latitude | float | Latitude of the parking lot |
| longitude | float | Longitude of the parking lot |
| capacity | integer | Capacity of the parking lot |
| current_count | integer | Current count of the number of cars in the parking lot |
| percent_filled | integer | Percentage of which the parking lot is filled, rounded to the nearest integer |
| last_update | string | Time which the `current_count` was last updated |
Any value can be null
{
"meta":{
"requests":660143,
"timestamp":1444252138,
"status":200,
"message":"Request successful",
"method_id":1823,
"method":{
}
},
"data":[
{
"lot_name":"C",
"latitude":43.467536,
"longitude":-80.538379,
"capacity":807,
"current_count":401,
"percent_filled":50,
"last_updated":"2015-10-07T17:08:49-04:00"
},
{
"lot_name":"N",
"latitude":43.47491,
"longitude":-80.544559,
"capacity":252,
"current_count":189,
"percent_filled":75,
"last_updated":"2015-10-07T17:08:39-04:00"
},
{
"lot_name":"W",
"latitude":43.474777,
"longitude":-80.547579,
"capacity":184,
"current_count":135,
"percent_filled":73,
"last_updated":"2015-10-07T17:08:39-04:00"
},
{
"lot_name":"X",
"latitude":43.477526,
"longitude":-80.545492,
"capacity":630,
"current_count":177,
"percent_filled":28,
"last_updated":"2015-10-07T17:08:18-04:00"
}
]
}