Read from the package's own PHP files at the commit 31e25a402f5d: 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.
BilletwebFactoryclassBilletweb, from its options:
5 options · 1 method
BilletwebProviderclassBilletweb's API v1 (https://www.billetweb.fr/bo/api.php, its OpenAPI description at /api/openapi.json): GET /api/events, /api/event/{id}/avail, /api/event/{id}/tickets and /api/event/{id}/attendees, with the key in an HTTP Basic header. Reading only: nothing is written (no "check" POST, which would mark a ticket as scanned).
8 methods
Omniticket\Billetweb
BilletwebFactory class
final class BilletwebFactory extends ProviderFactory BilletwebFactory.php:21
Billetweb, from its options:
user the API user (Billetweb's back office, "API" - a key is read-only or read and write, possibly restricted to some events: read-only is all this package needs) key the API key timezone the zone Billetweb'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://www.billetweb.fr
Options
| Option | Default | |
|---|---|---|
timezone | 'Europe/Paris' | |
currency | 'EUR' | |
url | 'https://www.billetweb.fr' | |
user | required | |
key | required |
BilletwebFactory::__construct()
public function __construct(readonly ?HttpClientInterface $http = null)BilletwebProvider class
final class BilletwebProvider implements EventCatalogInterface, AttendeeListInterface, TicketCheckInterface BilletwebProvider.php:31
Billetweb's API v1 (https://www.billetweb.fr/bo/api.php, its OpenAPI description at /api/openapi.json): GET /api/events, /api/event/{id}/avail, /api/event/{id}/tickets and /api/event/{id}/attendees, with the key in an HTTP Basic header. Reading only: nothing is written (no "check" POST, which would mark a ticket as scanned).
BilletwebProvider::__construct()
public function __construct(HttpClientInterface $http, readonly string $user, readonly string $key, readonly \DateTimeZone $timezone = new \DateTimeZone('Europe/Paris'), readonly string $currency = 'EUR', readonly string $url = 'https://www.billetweb.fr')BilletwebProvider::getName()
public function getName(): stringBilletwebProvider::getTitle()
public function getTitle(): stringBilletwebProvider::capabilities()
public function capabilities(): CapabilitiesBilletwebProvider::events()
public function events(EventQuery $query = new EventQuery()): iterableBilletwebProvider::event()
public function event(string $id): EventBilletwebProvider::attendees()
public function attendees(string $eventId, ?\DateTimeImmutable $updatedSince = null): iterableBilletwebProvider::check()
public function check(string $eventId, string $code): Check