Aller au contenu

omniticket/eventbrite Référence de l’API

Étage
Fournisseur · Omniticket
Version
1.x
Suite de conformité
non branchée
Vérifié en réel
Vérifié en partie
Licence
MIT
composer require omniticket/eventbrite:1.x-dev

Lue dans les fichiers PHP du paquet au commit 8367283e6d4e : ses espaces de noms, classes, interfaces et énumérations, leurs constantes, propriétés et méthodes publiques avec leur PHPDoc, et les options que prennent ses fabriques. Rien n’en est exécuté.

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.