Skip to content

gimmie/php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Gimmie API Client

Ruby wrapper for the Gimmie API. Currently only sending events and retrieving owned stamp cards are supported.

Installation

Include this code into your project and require with:

require_once "containing_folder/library/GimmieClient.php"

Add initialization code in your application to set credentials with:

GimmieClient::setup(API_ROOT, CLIENT_KEY, CLIENT_SECRET);

where the api root is in the form "http://your-gimmie-instance.com"

Usage

See the example code for specifics, but basically:

$client = new GimmieClient(array('uid' => 'JimmieBob'));
$event_results = $client->trigger('login', array('platform' => 'android'));

Dependencies

This depends on the oauth-php library which has been included unmodified in this project under vendor for convenience.

License

The gem is available as open source under the terms of the MIT License.

About

PHP Gimmie API Client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages