activecollab/qbo-wrapper

Quickbooks online API 包装器

2.0.5 2019-12-17 11:01 UTC

This package is auto-updated.

Last update: 2024-09-17 21:23:48 UTC


README

#Quickbooks

Build Status

使用方法

身份验证

$quickbooks = new ActiveCollab\Quickbooks\Quickbooks([
    'identifier'    => 'example-consumer-key',
    'secret'        => 'example-consumer-key-secret',
    'callback_uri'  => 'http://example.com'
]);

沙盒

$sandbox = new ActiveCollab\Quickbooks\Sandbox(
    'example-consumer-key',
    'example-consumer-key-secret',
    'example-access-token',
    'example-access-token-secret',
    'example-realmId'
);

查询API

$dataService = new ActiveCollab\Quickbooks\DataService(
    'example-consumer-key',
    'example-consumer-key-secret',
    'example-access-token',
    'example-access-token-secret',
    'example-realmId'
);