Lue dans les fichiers PHP du paquet au commit cb92074ae54b : 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é.
WeezeventFactoryclassWeezevent, from its options:
7 options · 1 method
WeezeventProviderclassWeezevent's API (https://api.weezevent.com, documented on that page): GET /events, /event/{id}/details, /tickets, /dates and /participant/list with the partner's api_key and the organizer's access_token. Reading only: nothing is written, no ticket marked as scanned.
9 methods
Omniticket\Weezevent
WeezeventFactory class
final class WeezeventFactory extends ProviderFactory WeezeventFactory.php:21
Weezevent, from its options:
api_key the partner API key Weezevent gives (access is limited to registered partners) access_token the organizer's token (persistent: POST /auth/access_token once and keep it) - or: username, password the organizer's login, exchanged for a token at the first call timezone the zone Weezevent's dates are in (Europe/Paris): it gives local times without one currency the currency of its prices (EUR): its answers do not name it url https://api.weezevent.com
Options
| Option | Default | |
|---|---|---|
access_token | '' | |
username | '' | |
password | '' | |
timezone | 'Europe/Paris' | |
currency | 'EUR' | |
url | 'https://api.weezevent.com' | |
api_key | required |
WeezeventFactory::__construct()
public function __construct(readonly ?HttpClientInterface $http = null)WeezeventProvider class
final class WeezeventProvider implements EventCatalogInterface, AttendeeListInterface, TicketCheckInterface WeezeventProvider.php:31
Weezevent's API (https://api.weezevent.com, documented on that page): GET /events, /event/{id}/details, /tickets, /dates and /participant/list with the partner's api_key and the organizer's access_token. Reading only: nothing is written, no ticket marked as scanned.
WeezeventProvider::__construct()
public function __construct(HttpClientInterface $http, readonly string $apiKey, ?string $accessToken = null, readonly ?string $username = null, readonly ?string $password = null, readonly \DateTimeZone $timezone = new \DateTimeZone('Europe/Paris'), readonly string $currency = 'EUR', readonly string $url = 'https://api.weezevent.com')WeezeventProvider::getName()
public function getName(): stringWeezeventProvider::getTitle()
public function getTitle(): stringWeezeventProvider::capabilities()
public function capabilities(): CapabilitiesWeezeventProvider::events()
public function events(EventQuery $query = new EventQuery()): iterableWeezeventProvider::event()
public function event(string $id): EventWeezeventProvider::attendees()
public function attendees(string $eventId, ?\DateTimeImmutable $updatedSince = null): iterableWeezeventProvider::check()
public function check(string $eventId, string $code): CheckWeezevent has no lookup by barcode: the event's participants are read, and the code looked for among them.
WeezeventProvider::eventCategories()
public function eventCategories(): arrayWeezevent's event categories ("Concerts", "Festivals"...), by id: the one call its documentation marks as public, no key needed.