felixdelval/deckbrew-api

PHP DeckBrew Api

Maintainers

Package info

github.com/fe-lix-/deckbrew-api

pkg:composer/felixdelval/deckbrew-api

Statistics

Installs: 9

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-master 2016-05-20 21:26 UTC

This package is not auto-updated.

Last update: 2026-03-04 17:41:49 UTC


README

travis-ci Coverage Status

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'),
]);