einnar82 / laravel-zomato
:description
1.0
2018-11-02 15:23 UTC
Requires
Requires (Dev)
- mockery/mockery: ^1.1
- orchestra/testbench: ~3.0
- phpunit/phpunit: ~7.0
- sempro/phpunit-pretty-print: ^1.0
This package is auto-updated.
Last update: 2025-03-01 00:13:42 UTC
README
An API Wrapper for Zomato.
Prerequisites
- Register an account to get an API Key
Installation
Type in your terminal
$ composer require einnar82/laravel-zomato
Add the service provider in your config => app.php
RannieOllit\Zomato\ZomatoServiceProvider::class,
and the Facade
'Zomato' => RannieOllit\Zomato\Facades\Zomato::class
Publish the zomato.php file via
$ php artisan vendor:publish
and select
RannieOllit\Zomato\ZomatoServiceProvider
Then, you can use the Zomato Facade;
List of methods in laravel-zomato
method | information |
---|---|
getCategories | Get list of Categories |
getCityDetails(array $params) | Get city details |
getCityCollections(array $params) | Get Zomato collections in a city |
getCityCuisines(array $params) | Get list of all cuisines in a city |
getCityRestaurantTypes(array $params) | Get list of restaurant types in a city |
getRestaurantCoordinates(array $params) | Get location details based on coordinates |
getLocationDetails(array $params) | Get Zomato location details |
searchLocations(array $params) | Search for locations |
getDailyMenu(array $params) | Get daily menu of a restaurant |
getRestaurantDetails(array $params) | Get restaurant details |
getRestaurantReviews(array $params) | Get restaurant reviews |
searchForRestaurants(array $params) | Search for restaurants |
You may check the Zomato documentation for details.