PHP code example of sdksio / apimatic-tql-sdk
1. Go to this page and download the library: Download sdksio/apimatic-tql-sdk 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/ */
sdksio / apimatic-tql-sdk example snippets
use FreightFinancialsWebhookIngestionApiLib\Logging\LoggingConfigurationBuilder;
use FreightFinancialsWebhookIngestionApiLib\Logging\RequestLoggingConfigurationBuilder;
use FreightFinancialsWebhookIngestionApiLib\Logging\ResponseLoggingConfigurationBuilder;
use Psr\Log\LogLevel;
use FreightFinancialsWebhookIngestionApiLib\FreightFinancialsWebhookIngestionApiClientBuilder;
$client = FreightFinancialsWebhookIngestionApiClientBuilder::init()
->loggingConfiguration(
LoggingConfigurationBuilder::init()
->level(LogLevel::INFO)
->requestConfiguration(RequestLoggingConfigurationBuilder::init()->body(true))
->responseConfiguration(ResponseLoggingConfigurationBuilder::init()->headers(true))
)
->build();