PHP code example of webboy / fub-api-client
1. Go to this page and download the library: Download webboy/fub-api-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/ */
webboy / fub-api-client example snippets
$xslt
$client = new Webboy\FubApiClient\Endpoints\Events();
$query_params['limit'] = 15;
$response = $client->index($query_params);
$xslt
array:15 [▼
0 => array:13 [▼
"id" => 1433
"created" => "2017-09-06T15:29:37Z"
"updated" => "2017-09-06T15:29:37Z"
"personId" => 373
"message" => ""
"description" => ""
"noteId" => null
"source" => "<unspecified>"
"type" => "Viewed Page"
"pageTitle" => "Home Page"
"pageUrl" => "http://ikstrim.net/dev/godzilla-polish-live/"
"pageDuration" => 0
"property" => null
]
1 => array:13 [▶]
2 => array:13 [▶]
3 => array:13 [▶]
4 => array:13 [▶]
5 => array:13 [▶]
6 => array:13 [▶]
7 => array:13 [▶]
8 => array:13 [▶]
9 => array:13 [▶]
10 => array:13 [▶]
11 => array:13 [▶]
12 => array:13 [▶]
13 => array:13 [▶]
14 => array:13 [▶]
]