Skip to content

vnepomuceno/zomato-api-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

zomato-api-wrapper

Zomato

Description

Wrapper for the Zomato API, written in PHP and retrieving JSON responses.

Usage

Include the needed wrapper class.

require './classes/ZomatoApi.php';

Instantiate wrapper choosing XML or JSON data formats.

$zomatoXmlApi = new ZomatoApi('xml');
$zomatoJsonApi= new ZomatoApi('json');

Invoke the desired method of the Zomato API and get the HTTP response.

$jsonResponse = $zomatoJsonApi->getCitiesRequest('Lisbon', 0.0, 0.0, '', 0);

About

Wrapper for the Zomato API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages