PHP code example of kangaroorewards / kangaroorewards-php-sdk

1. Go to this page and download the library: Download kangaroorewards/kangaroorewards-php-sdk library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

kangaroorewards / kangaroorewards-php-sdk example snippets


$api = new KangarooApi([
    'access_token' => {ACCESS_TOKEN},
]);

$resourceOwner = $api->me();

$customer = $api->getCustomer({CUSTOMER_ID}, ['