First, we need to create an account with Zomato and get an API key:
- Click Generate API Key:
- Sign up:
- Confirm your email address and click Generate API Key again:
- Copy the API key.
First, we need to create an account with Zomato and get an API key:
The base URL for fetching data is https://developers.zomato.com/api/v2.1/. Every query sent to the Zomato server should have the API key sent as part of the header, as follows:
curl -X GET --header "Accept: application/json" --header "user-key: YOURAPIKEY" "https://developers.zomato.com/api/v2.1/categories"
In the preceding HTTP GET call, categories specify the handle that pulls out the various...