17/07
2018
Basic Poool API Client
this is a PHP client for the project management application POOOL., (*1)
Install via Composer, (*2)
composer require dieschittigs/poool-client
Create an instance like this:, (*3)
use DieSchittigs\PooolClient; require 'vendor/autoload.php'; $poool = new PooolClient('you@mail.com', 'yourpassword');
And use it like this:, (*4)
// Get latest entries from address book $addressBook = $poool->get('address_book?search_company=true&search_company_subsidiary=true&search_person=true&search_term='); // Search for projects $poool->post('project/management/search', [ "search"=>[ "filterGroups"=>[ [ [ "option_id"=>"orderState", "operator"=>"=", "value"=>1 ], [ "option_id"=>"ticketState", "operator"=>"=", "value"=>"open" ] ] ], "fullText"=>"" ] ]);
Poool has no official API documentation, so additional routes must be extracted by observing the calls made within app.poool.cc., (*5)
©ISC Die Schittigs, (*6)