PHP code example of silktide / prospect-php-client
1. Go to this page and download the library: Download silktide/prospect-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/ */
silktide / prospect-php-client example snippets
// The actual API key needs to be created at https://app.prospect.silktide.com/en_GB/admin/settings#/api
$apiKey = "0123456789abcdef";
$prospectClient = \Silktide\ProspectClient\ProspectClient::createFromApiKey($apiKey);
$reportApi = $prospectClient->getReportApi();