Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A port of Twitter-async for Foursquare. This is a high performance wrapper for Foursquare's OAuth 2 API which provides parallel/asynchronous calls.
PHP
Branch: master

Merge pull request #24 from meza/master

added new api versioning support
latest commit fc31edf568
@jmathai authored
Failed to load latest commit information.
tests Fixing geo test.
EpiCurl.php Initial checkin of v2 compatible library.
EpiFoursquare.php added new api versioning support
EpiSequence.php
LICENSE Initial commit with basic unit tests
README.markdown Fixing syntax in README.
simpleTest.php Add a visual display of badges for the authenticated user

README.markdown

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
Something went wrong with that request. Please try again.