PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Egor Gumenuk  >  Yelp  >  README.md  >  Download  
File: README.md
Role: Documentation
Content type: text/plain
Description: Documentation
Class: Yelp
Retrieve information from places with the Yelp API
Author: By
Last change: Update of README.md
Date: 1 month ago
Size: 451 bytes
 

Contents

Class file image Download
Based on https://github.com/Yelp/yelp-api/tree/master/v2/php # Usage # ```php <?php $config = array( 'consumer_key' => YOUR_CONSUMER_KEY, 'consumer_secret' => YOUR_CONSUMER_SECRET, 'token' => YOUR_TOKEN, 'token_secret' => YOUR_TOKEN_SECRET ); // Create yelp business api driver $yelp = new Yelp($config); // Returns json data if request is successful else throws YelpException $data = $yelp->get('some-business-name'); ```