No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This PHP package is automatically generated by the OpenAPI Generator project:
- API version: 0.0.1
- Build package: org.openapitools.codegen.languages.PhpClientCodegen
PHP 5.5 and later
To install the bindings via Composer, add the following to composer.json:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
}
],
"require": {
"GIT_USER_ID/GIT_REPO_ID": "*@dev"
}
}
Then run composer install
Download the files and include autoload.php:
require_once('/path/to/OpenAPIClient-php/vendor/autoload.php');To run the unit tests:
composer install
./vendor/bin/phpunit
Please follow the installation procedure and then run the following:
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\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()
);
$label_ids = array('label_ids_example'); // string[] |
try {
$apiInstance->fetchNotes($label_ids);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->fetchNotes: ', $e->getMessage(), PHP_EOL;
}
?>All URIs are relative to https://some.example.api.com/v1
| Class | Method | HTTP request | Description |
|---|---|---|---|
| DefaultApi | fetchNotes | GET /notes | Returns all notes. |
All endpoints do not require authorization.