subugoe / counter-client
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/subugoe/counter-client
Requires
- php: >=8.2
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.9
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.59
- phpunit/phpunit: ^10.5
- rector/rector: ^1.0
- squizlabs/php_codesniffer: ^3.10
This package is auto-updated.
Last update: 2025-12-08 12:26:54 UTC
README
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: 5
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.PhpClientCodegen
Requirements
PHP 5.5 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/subugoe/counter-client.git"
}
],
"require": {
"subugoe/counter-client": "*@dev"
}
}
Then run composer install
Manual Installation
Download the files and include autoload.php:
require_once('/path/to/OpenAPIClient-php/vendor/autoload.php');
Tests
To run the unit tests:
composer install
./vendor/bin/phpunit
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); $apiInstance = new Subugoe\CounterClient\Api\TrackingApi( // 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() ); $id = 'id_example'; // string | try { $result = $apiInstance->getTrackingItem($id); print_r($result); } catch (Exception $e) { echo 'Exception when calling TrackingApi->getTrackingItem: ', $e->getMessage(), PHP_EOL; } ?>
Documentation for API Endpoints
All URIs are relative to http://localhost
| Class | Method | HTTP request | Description |
|---|---|---|---|
| TrackingApi | getTrackingItem | GET /api/counter/trackings/{id} | Retrieves a Tracking resource. |
| TrackingApi | postTrackingCollection | POST /api/counter/trackings | Creates a Tracking resource. |
Documentation For Models
Documentation For Authorization
All endpoints do not require authorization.