PHP

There is an official Ticketpark API PHP client to make your developer life easier:

PHP API Client on Github

Installation

composer require ticketpark/php-api-client

Basic usage

<?php

include('vendor/autoload.php');

$client = new \Ticketpark\ApiClient\TicketparkApiClient('yourApiKey', 'yourApiSecret');
$client->setUserCredentials('your@username.com', 'yourPassword');

$response = $client->get('/events/', ['maxResults' => 2]);

if ($response->isSuccessful()) {
    $data = $response->getContent();
}