Deckbrew API
, (*1)
A PHP wrapping of the DeckBrew Api. Find their documentation (here)[https://deckbrew.com/api/]., (*2)
Usage
You can instantiate the client either via the factory:, (*3)
$client = DeckBrew\ClientFactory::create();
Or you can create it directy injecting your own Guzzle Http Client, (*4)
$client = new DeckBrew\Client($httpClient);
To make a request :, (*5)
use DeckBrew\Criteria;
use DeckBrew\Criteria\Specifications as Spec;
$client->searchCard(new Criteria\CardSearch([
Spec\WithName('some name'),
]);