PHP code example of bploeger / rezdy-api-v1
1. Go to this page and download the library: Download bploeger/rezdy-api-v1 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/ */
bploeger / rezdy-api-v1 example snippets
use Rezdy\RezdyAPI;
use Rezdy\Requests\SimpleSearch;
// Initialize the API
$rezdyAPI = new RezdyAPI('your api key');
// Set the search parameters
$searchParams = [
'search' => 'Smith',
'limit' => 50,
'offset' => 0
];
// Create the Simple Search Request
$search = new SimpleSearch($searchParams);
// Send the request to the API
$response = $this->rezdyAPI->customers->search($search);
// View the Response
echo $response;