Skip to content

awaage/incentiBox-PHP-API-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IncentiBox PHP API Client

Installation

Just require('incentibox.php'), or refer to incentibox.php to create your own 

Basic Usage

See client.php for more examples.

<?php
require_once('incentibox.php');
$PROGRAM_ID = 1000;
$API_USER = 'testuser';
$API_PASSWORD = 'testpass';

$client = new Incentibox($API_USER, $API_PASSWORD);

// returns all the redeemed_rewards for this program 
$rewards_array = $client->get_redeemed_rewards($PROGRAM_ID, 25);
?>

Copyright

Copyright (c) 2011 Andrew Waage. See LICENSE for details.

About

IncentiBox Sample PHP API Client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages