opendaje / enola-client
Unofficial Openapi.it api client.
0.1.8
2024-04-04 14:25 UTC
Requires
- php: >=7.4 || ^8.2
- ext-json: *
- php-http/cache-plugin: ^2.0
- php-http/client-common: ^2.6
- php-http/discovery: ^1.14
- php-http/httplug: ^2.3
- psr/cache: ^1.0
- psr/http-factory: ^1.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-10-21 15:17:58 UTC
README
Unofficial OpenApi.it api client.
⚠ Launching early stage releases (0.x.x) could break the API according to Semantic Versioning 2.0. We are using minor for breaking changes.
This will change with the release of the stable 1.0.0
version.
Questa libreria fornisce un'api client per parte delle api di OpenApi.it ( official client )
A differenza del client ufficiale, il client enola è sviluppato sulle specifiche PSR per http, quindi la libreria non viene distribuita con uno specifico http client, ma è compatibile con quelli presenti in questa lista
Servizi/Api supportati
- Cap
- Europena Vat
- Imprese
- Car
INSTALLAZIONE
composer require opendaje/enola-client // installa un Http client compatibile con lo standard PSR composer require http-interop/http-factory-guzzle php-http/guzzle6-adapter
Uso
$token = 'MY_TOKEN'; $isSandbox = true; $client = new EnolaClient($token, $isSandbox); $response = $client->api('cap')->getRegioni(); print_r($response);