Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 583 Bytes

README.markdown

File metadata and controls

26 lines (16 loc) · 583 Bytes

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.