pathfindermediagroup / api-library
A library that helps to interact with the PMG API
Installs: 790
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/pathfindermediagroup/api-library
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');