Skip to content

omniticket/eventbrite API reference

Floor
Provider · Omniticket
Version
1.x
Conformance suite
not wired
Verified for real
Verified in part
Licence
MIT
composer require omniticket/eventbrite:1.x-dev

Read from the package's own PHP files at the commit 8367283e6d4e: its namespaces, classes, interfaces and enums, their public constants, properties and methods with their PHPDoc, and the options its factories take. Nothing of it is run.

Omniticket\Eventbrite

  • EventbriteFactory class

    Eventbrite, from its options:

    3 options · 1 method

  • EventbriteProvider class

    Eventbrite's API v3 (https://www.eventbrite.com/platform/api): GET /organizations/{id}/events/, /events/{id}/ (ticket availability and venue expanded), /events/{id}/ticket_classes/ and /events/{id}/attendees/, with a bearer token; pages followed by their continuation. Reading only.

    8 methods

Omniticket\Eventbrite

EventbriteFactory class

final class EventbriteFactory extends ProviderFactory EventbriteFactory.php:18

Eventbrite, from its options:

token a private token (account settings, "Developer links", "API keys") or an OAuth token organization the organization's id, whose events are listed (GET /users/me/organizations/ gives it) url https://www.eventbriteapi.com/v3

Options

OptionDefault
url'https://www.eventbriteapi.com/v3'
tokenrequired
organizationrequired

EventbriteFactory::__construct()

public function __construct(readonly ?HttpClientInterface $http = null)

EventbriteProvider class

final class EventbriteProvider implements EventCatalogInterface, AttendeeListInterface, TicketCheckInterface EventbriteProvider.php:29

Eventbrite's API v3 (https://www.eventbrite.com/platform/api): GET /organizations/{id}/events/, /events/{id}/ (ticket availability and venue expanded), /events/{id}/ticket_classes/ and /events/{id}/attendees/, with a bearer token; pages followed by their continuation. Reading only.

EventbriteProvider::__construct()

public function __construct(HttpClientInterface $http, readonly string $token, readonly string $organization, readonly string $url = 'https://www.eventbriteapi.com/v3')

EventbriteProvider::getName()

public function getName(): string

EventbriteProvider::getTitle()

public function getTitle(): string

EventbriteProvider::capabilities()

public function capabilities(): Capabilities

EventbriteProvider::events()

public function events(EventQuery $query = new EventQuery()): iterable

EventbriteProvider::event()

public function event(string $id): Event

EventbriteProvider::attendees()

public function attendees(string $eventId, ?\DateTimeImmutable $updatedSince = null): iterable

EventbriteProvider::check()

public function check(string $eventId, string $code): Check

Eventbrite has no lookup by barcode: the event's attendees are read, and the code looked for among them.