2017 © Pedro Peláez
 

library yelp-apiv3

Yelp API V3 PHP Class

image

mahmoodr786/yelp-apiv3

Yelp API V3 PHP Class

  • Friday, December 9, 2016
  • by mahmoodr786
  • Repository
  • 1 Watchers
  • 0 Stars
  • 28 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 33 % Grown

The README.md

Yelp API V3 PHP Class

A PHP Class for Yelp API V3 - Manages access token - Adds the token to headers with every request., (*1)

Installation

composer require mahmoodr786/yelp-apiv3

Load the class., (*2)

require "vendor/autoload.php";
use mahmoodr786\YelpAPI\YelpAPI;

Create an instance, (*3)

$api = new YelpAPI(
    'ClientID',
    'Secret'
);

Query, (*4)

$params = [
    'term' => 'food',
    'radius' => '500',
    'location' => '84123'
];
$data = $api->getData('businesses/search', $params);
print_r($data);

The Versions

09/12 2016

dev-master

9999999-dev

Yelp API V3 PHP Class

  Sources   Download

MIT

The Requires