PHP code example of pathfindermediagroup / api-library
1. Go to this page and download the library: Download pathfindermediagroup/api-library library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pathfindermediagroup / api-library example snippets
$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');