<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: bearerAuth
$config = Tinq\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Tinq\Api\Projects(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$order = DESC; // string
$column_sort = created_at; // string
$name = 'name_example'; // string
try {
$apiInstance->getAllProjects($order, $column_sort, $name);
} catch (Exception $e) {
echo 'Exception when calling Projects->getAllProjects: ', $e->getMessage(), PHP_EOL;
}