felixdelval / deckbrew-api
PHP DeckBrew Api
dev-master
2016-05-20 21:26 UTC
Requires
- php: >=5.5.0
- guzzlehttp/guzzle: ^6.1
Requires (Dev)
- phpunit/phpunit: 4.3.*
- satooshi/php-coveralls: dev-master
This package is not auto-updated.
Last update: 2024-12-25 11:35:01 UTC
README
A PHP wrapping of the DeckBrew Api. Find their documentation (here)[https://deckbrew.com/api/].
Usage
You can instantiate the client either via the factory:
$client = DeckBrew\ClientFactory::create();
Or you can create it directy injecting your own Guzzle Http Client
$client = new DeckBrew\Client($httpClient);
To make a request :
use DeckBrew\Criteria;
use DeckBrew\Criteria\Specifications as Spec;
$client->searchCard(new Criteria\CardSearch([
Spec\WithName('some name'),
]);