1. Go to this page and download the library: Download transip/tipctl 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/ */
/**
* Implementation in tipctl
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
$page = $input->getArgument(Field::PAGE);
$itemsPerPage = $input->getArgument(Field::ITEMS_PER_PAGE);
$invoices = $this->getTransipApi()->invoice()->getSelection($page, $itemsPerPage);
$this->output($invoices);
}
/**
* How this implementation should be interpreted and used when using the RestAPI library
*/
$page = 1;
$itemsPerPage = 25;
$invoices = $api->invoice()->getSelection($page, $itemsPerPage);
print_r($invoices);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.