GET /buildings/list.{format}
This method returns a list of official building names, their unique number and their lat/long coordinates.
| Name | Value | Name | Value |
| Request Protocol | GET | Requires API Key | Yes |
| Method ID | 1213 | Enabled | Yes |
| Service Name | buildings | Service ID | 257 |
| Information Steward | Institution of Analysis & Planning (IAP) | Data Type | CSV |
| Update Frequency | When updated by the steward/via github pull request | Cache Time | 0 seconds |
- Usage won't increase if there is no data returned
- This data is community curated on github.
- Any value can be
null
GET /buildings/list.{format}
| Parameter | Type | Required | Description |
| format | input | yes | Output format |
| key | filter | yes | Your API key |
| callback | filter | no | JSONP callback format |
Output Formats
- json
- xml
GET /buildings/list.{format}
- https://api.uwaterloo.ca/v2/buildings/list.json
- https://api.uwaterloo.ca/v2/buildings/list.xml
- https://api.uwaterloo.ca/v2/buildings/list.json?callback=myResponse
| Field Name | Type | Value Description | |||||||||
| building_id | string | Unique building number | |||||||||
| building_code | string | Official building name | |||||||||
| alternate_names | array | Alternate building names | |||||||||
| latitude | float | Latitude of building location | |||||||||
| longitude | float | Longitude of building location | |||||||||
| building_sections | array | List of building sections
|
Any value can be null
{
"meta":{
"requests":96,
"timestamp":1381939191,
"status":200,
"message":"Request successful",
"method_id":2,
"version":2.07,
"method":{
}
},
"data":[
{
"building_id":0,
"building_code":"AAC",
"building_name":"Architecture Annex Cambridge",
"alternate_names":[
],
"latitude":43.35855,
"longitude":-80.31684,
"building_sections":[
]
},
{
"building_id":0,
"building_code":"AAR",
"building_name":"Architecture Annex Rome",
"alternate_names":[
],
"latitude":41.889615,
"longitude":12.470925,
"building_sections":[
]
},
{
"building_id":0,
"building_code":"ACW",
"building_name":"Accelerator Centre Waterloo",
"alternate_names":[
],
"latitude":43.47731,
"longitude":-80.54896,
"building_sections":[
]
},
{
"building_id":44,
"building_code":"MKV",
"building_name":"William Lyon Mackenzie King Village",
"alternate_names":[
"Mackenzie King Village"
],
"latitude":43.471509,
"longitude":-80.552729,
"building_sections":[
{
"section_name":"MKV East",
"latitude":43.47132,
"longitude":-80.551983
},
{
"section_name":"MKV West",
"latitude":43.471161,
"longitude":-80.553056
}
]
},
{
"building_id":45,
"building_code":"TC",
"building_name":"William M. Tatham Centre for Co-operative Education & Career Action",
"alternate_names":[
"Tatham Centre"
],
"latitude":43.469,
"longitude":-80.541324,
"building_sections":[
]
}
]
}