GET /foodservices/watcard.{format}
This method returns a list of all WatCard locations according to Food Services
Name | Value | Name | Value |
Request Protocol | GET | Requires API Key | Yes |
Method ID | 1289 | Enabled | Yes |
Service Name | foodservices | Service ID | 269 |
Information Steward | Food Services | Data Type | Direct DB Connection |
Update Frequency | Every request (live) | Cache Time | 0 seconds |
- Usage won't increase if there is not data returned
- We cannot modify the data from this method
- Any value can be
null
GET /foodservices/watcard.{format}
Parameter | Type | Required | Description |
key | filter | yes | Your API key |
callback | filter | no | JSONP callback format |
Output Formats
- json
- xml
GET /foodservices/watcard.{format}
- http://api.uwaterloo.ca/v2/foodservices/watcard.json
- http://api.uwaterloo.ca/v2/foodservices/watcard.xml
- http://api.uwaterloo.ca/v2/foodservices/watcard.json?callback=myResponse
Field Name | Type | Value Description |
vendor_id | integer | Outlet ID number |
vendor_name | string | Vendor name |
Any value can be null
{
"meta":{
"requests":142,
"timestamp":1381962116,
"status":200,
"message":"Request successful",
"method_id":2,
"version":2.07,
"method":{
}
},
"data":[
{
"vendor_id":20,
"vendor_name":"Apple II Hairstylists"
},
{
"vendor_id":21,
"vendor_name":"Bombshelter for meals"
},
{
"vendor_id":13,
"vendor_name":"Campus Pizza"
},
{
"vendor_id":17,
"vendor_name":"Curry in a Hurry"
},
{
"vendor_id":29,
"vendor_name":"Domino's Pizza"
},
{
"vendor_id":12,
"vendor_name":"East Side Mario's"
},
{
"vendor_id":11,
"vendor_name":"Farah Foods"
},
{
"vendor_id":32,
"vendor_name":"Kabob Hut"
},
{
"vendor_id":27,
"vendor_name":"McGinnis Front Row"
},
{
"vendor_id":23,
"vendor_name":"Meetpoint Restaurant"
},
{
"vendor_id":33,
"vendor_name":"Mr. Panino Beijing House"
},
{
"vendor_id":16,
"vendor_name":"Pita Pit"
},
{
"vendor_id":14,
"vendor_name":"Pizza Pizza"
},
{
"vendor_id":24,
"vendor_name":"Sobey's - Columbia Street"
},
{
"vendor_id":19,
"vendor_name":"Student Health Pharmacy"
},
{
"vendor_id":10,
"vendor_name":"Swiss Chalet"
},
{
"vendor_id":25,
"vendor_name":"The Grill"
},
{
"vendor_id":30,
"vendor_name":"University Club"
},
{
"vendor_id":18,
"vendor_name":"Waterloo Taxi"
},
{
"vendor_id":15,
"vendor_name":"William's Coffee"
},
{
"vendor_id":31,
"vendor_name":"Wings Up Delivery"
}
]
}