<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
forevermatt / budget-data-api-php-client example snippets
Instance = new BudgetData\ApiClient\Api\DefaultApi(
// 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()
);
$body = new \BudgetData\ApiClient\Model\Account(); // \BudgetData\ApiClient\Model\Account |
try {
$apiInstance->accountPost($body);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->accountPost: ', $e->getMessage(), PHP_EOL;
}
$apiInstance = new BudgetData\ApiClient\Api\DefaultApi(
// 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()
);
try {
$result = $apiInstance->accountsGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->accountsGet: ', $e->getMessage(), PHP_EOL;
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.