All URIs are relative to https://api.unifapi.com, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| eventsSearchPost() | POST /events/search | Search Events |
eventsSearchPost($events_search_request): \Unifapi\\Sdk\Model\EventsSearchPost200ResponseSearch Events
Run one live Events search and receive individual events for a query, including title, dates, venue location, ticket links, and a description.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: bearerAuth
$config = Unifapi\\Sdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Unifapi\\Sdk\Api\EventsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$events_search_request = new \Unifapi\\Sdk\Model\EventsSearchRequest(); // \Unifapi\\Sdk\Model\EventsSearchRequest
try {
$result = $apiInstance->eventsSearchPost($events_search_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EventsApi->eventsSearchPost: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| events_search_request | \Unifapi\Sdk\Model\EventsSearchRequest | [optional] |
\Unifapi\Sdk\Model\EventsSearchPost200Response
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]