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é.
EventbriteFactoryclassEventbrite, from its options:
3 options · 1 method
EventbriteProviderclassEventbrite'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
| Option | Default | |
|---|---|---|
url | 'https://www.eventbriteapi.com/v3' | |
token | required | |
organization | required |
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(): stringEventbriteProvider::getTitle()
public function getTitle(): stringEventbriteProvider::capabilities()
public function capabilities(): CapabilitiesEventbriteProvider::events()
public function events(EventQuery $query = new EventQuery()): iterableEventbriteProvider::event()
public function event(string $id): EventEventbriteProvider::attendees()
public function attendees(string $eventId, ?\DateTimeImmutable $updatedSince = null): iterableEventbriteProvider::check()
public function check(string $eventId, string $code): CheckEventbrite has no lookup by barcode: the event's attendees are read, and the code looked for among them.