1. Go to this page and download the library: Download felixfever/tripleseat 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/ */
felixfever / tripleseat example snippets
use Tripleseat\Tripleseat;
$tripleseat = new Tripleseat([
'api_key' => '',
'secret_key' => '',
'public_key' => ''
]);
// Create a new client for Site with ID 1
$mySite = $tripleseat[1];
// Search accounts in this site
$mySite->account->search(['query' => 'tripleseat']);
// is the same as
$tripleseat->account->search(['query' => 'tripleseat', 'site_id' => 1]);