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.
$Untappd = new EpiUntappd($clientId, $clientSecret);
// http://api.untappd.com/v4/checkin/add
$checkin = $Untappd->post('/checkin/add', array(
'gmt_offset' => '-5', 'timezone' => 'EST', 'bid'=>3358
)
);
echo "This is your {$checkin->response->stats->beer_month} beer this month and your {$checkin->response->stats->beer_month} overall.";
There's complete documentation available on Github at https://github.com/finalcut/untappd-async/wiki
Get in touch with the author if you have suggestions or questions.
| Bill Rawlinson bill-at-rawlinson.us http://rawlinson.us |
Note: this is based heavily on the work done on the foursquare-async library https://github.com/jmathai/Untappd-async