A simple little app that describes the safety of Ottawa's restaurants in JSON.
/facility/:id
The complete facility record including location and inspections.
http://eatsafe-api.herokuapp.com/facility/32FBDA31-C784-4640-A2DF-AA7D934B7356
/facilities/nearby
A list of facilities near the location given. The location can either be
coordinates given as decimals in lat
and lon
or an address
. A search term
in q
can be used to filter the query. A limit
can also be provided (defaults
to 25). The approximate distance in kilometers is provided for each facility.
http://eatsafe-api.herokuapp.com/facilities/nearby?lat=45.4437&lon=75.6932&limit=10
http://eatsafe-api.herokuapp.com/facilities/nearby?address=24%20Sussex,%20Ottawa&q=tim%20hortons
/facilities/search
Searches through the facility names and provides up to 100 results.
http://eatsafe-api.herokuapp.com/facilities/search?q=subway
Written by Jonathan Rudenberg