smartselling / fapi-client
This package is abandoned and no longer maintained.
The author suggests using the https://github.com/fapi-cz/php-client package instead.
There is no license information available for the latest version (v0.1.1) of this package.
FAPI API Client
v0.1.1
2018-11-08 20:50 UTC
Requires
- php: ^5.3.3 || ^7.0
This package is not auto-updated.
Last update: 2019-02-20 19:47:25 UTC
README
Installation
The recommended way to install is via Composer:
composer require smartselling/fapi-client
Example of use:
$fapi = new FAPIClient('username', 'API token');
$fapi->invoice->getAll(); // returns all invoices
$fapi->invoice->get(123); // returns invoice #123
$fapi->invoice->search(['client' => 123]); // returns invoices of client #123
$fapi->client->searchOne(['email' => 'johndoe@example.com']); // returns client by email
Documentation
You can find API documentation here.