- Get list of all restaurants:
/api/v1/
- Get list of restaurants for particular location and type:
/api/v1/
with paramslocation
andrtype
- Sample Request:
https://searchrestaurant.pythonanywhere.com/api/v1/?format=json&location=oslo&rtype=pizza
- In case of error you will get an
error
key with astatus
code - You will get an array of dicts eaching containing information about place(restaurant,coffee shop etc.)