can not retrieve data from ticketevolution api. it gives "GuzzleHttpCommandExceptionCommandException"

i am using laravel and tring to integrate ticket evolution api in my project. But when i try to get the data from the api , i can not retrieve data from api. it gives “GuzzleHttpCommandExceptionCommandException”.

$ClientClass = new TEClient();
$apiClient = $ClientClass->settings([
    'baseUrl'     => '',
    'apiVersion'  => 'v9',
    'apiToken'    => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
    'apiSecret'   => 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy',

try {

  $options = array('performer_id' => 1234);

  $events = $apiClient->showPerformer($options);

} catch (Exception $e) {
  // Handle your Exceptions

  echo "<pre>"; 
  echo "</pre>";

Source: laravel

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.