pathfindermediagroup / api-library
This package is abandoned and no longer maintained.
No replacement package was suggested.
A library that helps to interact with the PMG API
1.3.2
2020-07-14 17:25 UTC
Requires
- php: >=7.2.0
- ext-curl: *
- ext-json: *
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.14
- phpunit/phpunit: ^7
README
Install via Composer
composer require pathfindermediagroup/api-library
Usage
<?php $auth = new \PathfinderMediaGroup\ApiLibrary\Auth\TokenAuth('yourapitokenhere'); $api = new \PathfinderMediaGroup\ApiLibrary\Api\SetApi($auth); $allSets = $api->getAll(); $specificSet = $api->get(1); $setSearch = $api->search('ebon armor');