PHP code example of wassa / glady-api-php-client
1. Go to this page and download the library: Download wassa/glady-api-php-client 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/ */
wassa / glady-api-php-client example snippets
use Wassa\GladyApiClient\GladyClient;
$client = new GladyClient(
$_ENV['CLIENT_ID'], // client_id
$_ENV['CLIENT_SECRET'], // client_secret
true // demo mode
);
$res = $client->beneficiariesList([
'invited' => true,
'pageSize' => 10,
'pageIndex' => 0]);
var_dump($res);