smartselling / fapi-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
安装
推荐通过 Composer 安装
composer require smartselling/fapi-client
使用示例
$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
文档
您可以在这里找到API文档。