PHP code example of minstrel / api-client
1. Go to this page and download the library: Download minstrel/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/ */
minstrel / api-client example snippets
use Minstrel\ApiClient\MinstrelClient;
use Minstrel\ApiClient\MinstrelApiException;
$minstrel = MinstrelClient::withClientCredentials('https://acme.minstrel.app/api/v1', $clientId, $clientSecret);
$page = $minstrel->accounts()->list(['limit' => 50, 'filter[property_id]' => 3, 'sort' => 'name']);
foreach ($minstrel->accounts()->listAll(['