PHP Classes

Yelp: Retrieve information from places with the Yelp API

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 244 All time: 7,996 This week: 524Up
Version License PHP version Categories
yelp-api 1.0BSD License5.3PHP 5, Web services, Geography
Description 

Author

This class can retrieve information from places with the Yelp API.

It can send HTTP requests to the Yelp API Web servers to first obtain an access token.

The class can also retrieve other types of information about places and businesses using the API.

Picture of Egor Gumenuk
Name: Egor Gumenuk <contact>
Classes: 3 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 1x

Details

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'); ```

  Files folder image Files (3)  
File Role Description
Files folder imagelib (1 file)
Accessible without login Plain text file README.md Doc. Documentation
Plain text file Yelp.php Class Class source

  Files folder image Files (3)  /  lib  
File Role Description
  Plain text file YOAuth.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:244
This week:0
All time:7,996
This week:524Up