Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/boo1ean/yelp-api-php

PHP wrapper for yelp business API v2
https://github.com/boo1ean/yelp-api-php

Last synced: 30 days ago
JSON representation

PHP wrapper for yelp business API v2

Awesome Lists containing this project

README

        

Based on https://github.com/Yelp/yelp-api/tree/master/v2/php

# Usage #

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