2017 © Pedro Peláez
 

library foursquare-venue-client

A PHP client library for accessing the Foursquare userless venue endpoint.

image

ben-gibson/foursquare-venue-client

A PHP client library for accessing the Foursquare userless venue endpoint.

  • Saturday, March 4, 2017
  • by ben-gibson
  • Repository
  • 1 Watchers
  • 7 Stars
  • 1,448 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 10 Versions
  • 2 % Grown

The README.md

Foursquare Venue API Client

Join the chat at https://gitter.im/foursquare-venue-client/Lobby, (*1)

Latest Version on Packagist ![Software License][ico-license] Build Status ![Total Downloads][ico-downloads], (*2)

A PHP client library for interacting with the Foursquare userless venue API. HTTPlug is used to support multiple HTTP clients including Guzzle, Buzz, and Curl., (*3)

Install

Use composer to install this library and your preferred HTTP client., (*4)

``` bash $ composer require php-http/guzzle6-adapter $ composer require ben-gibson/foursquare-venue-client, (*5)


## Usage ``` php <?php require_once __DIR__.'/../vendor/autoload.php'; use Gibbo\Foursquare\Client\Client; use Gibbo\Foursquare\Client\Configuration; use Gibbo\Foursquare\Client\Entity\Coordinates; use Gibbo\Foursquare\Client\Factory\Venue\VenueFactory; use Gibbo\Foursquare\Client\Identifier; use Gibbo\Foursquare\Client\Options\Search; $client = Client::simple(new Configuration('client-id', 'client-secret'), VenueFactory::simple()); // Get by id $venue = $client->getVenue(new Identifier('430d0a00f964a5203e271fe3')); $venue->getName(); $venue->getDetails()->getRating(); // Search by coordinates $options = Search::coordinates(new Coordinates(28.538336, -81.379234)) ->limit(10) ->radius(500) ->query('Donuts'); $venues = $client->search($options); // Search by place $options = Search::place('Chicago, IL') ->limit(10) ->radius(500) ->query('Donuts'); $venues = $client->search($options);

Change log

Please see CHANGELOG for more information what has changed recently., (*6)

Testing

bash $ composer test, (*7)

Contributing

Please see CONTRIBUTING for details., (*8)

Security

If you discover any security related issues, please email ben.gibson.2011@gmail.com instead of using the issue tracker., (*9)

Credits

License

The MIT License (MIT). Please see License File for more information., (*10)

The Versions

04/03 2017

dev-master

9999999-dev https://github.com/ben-gibson/foursquare-venue-client

A PHP client library for accessing the Foursquare userless venue endpoint.

  Sources   Download

MIT

The Requires

 

The Development Requires

api client foursquare venue ben-gibson foursquare-venue-client

04/03 2017

v0.0.6

0.0.6.0 https://github.com/ben-gibson/foursquare-venue-client

A PHP client library for accessing the Foursquare userless venue endpoint.

  Sources   Download

MIT

The Requires

 

The Development Requires

api client foursquare venue ben-gibson foursquare-venue-client

04/03 2017

5.6.x-dev

5.6.9999999.9999999-dev https://github.com/ben-gibson/foursquare-venue-client

A PHP client library for accessing the Foursquare userless venue endpoint.

  Sources   Download

MIT

The Requires

 

The Development Requires

api client foursquare venue ben-gibson foursquare-venue-client

04/03 2017

dev-refactors

dev-refactors https://github.com/ben-gibson/foursquare-venue-client

A PHP client library for accessing the Foursquare userless venue endpoint.

  Sources   Download

MIT

The Requires

 

The Development Requires

api client foursquare venue ben-gibson foursquare-venue-client

11/02 2017

v0.0.5

0.0.5.0 https://github.com/ben-gibson/foursquare-venue-client

A PHP client library for accessing the Foursquare userless venue endpoint.

  Sources   Download

MIT

The Requires

 

The Development Requires

api client foursquare venue ben-gibson foursquare-venue-client

11/02 2017

dev-rename-methods

dev-rename-methods https://github.com/ben-gibson/foursquare-venue-client

A PHP client library for accessing the Foursquare userless venue endpoint.

  Sources   Download

MIT

The Requires

 

The Development Requires

api client foursquare venue ben-gibson foursquare-venue-client

06/12 2016

v0.0.4

0.0.4.0 https://github.com/ben-gibson/foursquare-venue-client

A PHP client library for accessing the Foursquare userless venue endpoint.

  Sources   Download

MIT

The Requires

 

The Development Requires

api client foursquare venue ben-gibson foursquare-venue-client

22/10 2016

v0.0.3

0.0.3.0 https://github.com/ben-gibson/foursquare-venue-client

A PHP client library for accessing the Foursquare userless venue endpoint.

  Sources   Download

MIT

The Requires

 

The Development Requires

api client foursquare venue ben-gibson foursquare-venue-client

22/10 2016

v0.0.2

0.0.2.0 https://github.com/ben-gibson/foursquare-venue-client

A PHP client library for accessing the Foursquare userless venue endpoint.

  Sources   Download

MIT

The Requires

 

The Development Requires

api client foursquare venue ben-gibson foursquare-venue-client

03/08 2016

v0.0.1

0.0.1.0 https://github.com/ben-gibson/foursquare-venue-client

A PHP client library for accessing the Foursquare userless venue endpoint.

  Sources   Download

MIT

The Requires

 

The Development Requires

api client foursquare venue ben-gibson foursquare-venue-client