spyrit / billetel
Billetel client
Installs: 15 307
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 7
Forks: 1
Open Issues: 0
Requires
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- kevinrob/guzzle-cache-middleware: ^2.0
- symfony/cache: ^3.2
This package is auto-updated.
Last update: 2024-12-08 23:12:35 UTC
README
Usage
In CLI:
composer install
Basic PHP file:
<?php
require __DIR__.'/vendor/autoload.php';
use GuzzleHttp\Client;
use Spyrit\Billetel\Client\ArtistsClient;
$url = 'http://api.billetel.fr';
$authorization = 'BASIC aWJvbHYwMjE6MDkwYzc1OTJjMGE4MmUwYjA2MTVjYmJmNGYxZjY5MzQ=';
$desk = 'BOLBOL01';
$httpClient = new Client();
$artistsClient = new ArtistsClient($url, $authorization, $desk, $httpClient);
$artists = $artistsClient->get();