• This repository has been archived on 04/Dec/2018
  • Stars
    star
    164
  • Rank 230,032 (Top 5 %)
  • Language
    PHP
  • License
    Other
  • Created almost 15 years ago
  • Updated almost 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A port of Twitter-async for Foursquare. This is a high performance wrapper for Foursquare's OAuth 2 API which provides parallel/asynchronous calls.

Foursquare-async

A high performance PHP library for the Foursquare version 2 API


An example usage

Included in the repository are unit tests inside the tests directory as well as an easy to run script names simpleTest.php. You can load simpleTest.php up in a browser and you should see it working.

$foursquare = new EpiFoursquare($clientId, $clientSecret);
// http://developer.foursquare.com/docs/checkins/add.html
$checkin = $foursquare->post('/checkins/add', array(
    'venueId' => '35610', 'broadcast' => 'public'
  )
);
echo "You've checked in a total of {$checkin->response->checkins->count} times";

Documentation

There's complete documentation available on Github at https://github.com/jmathai/foursquare-async/wiki..

The authors

Get in touch with the authors if you have suggestions or questions.

Jaisen Mathai
jaisen-at-jmathai.com
http://www.jaisenmathai.com