96qbhy/nuonuo-php-sdk

There is no license information available for the latest version (dev-master) of this package.

诺诺开放平台php SDK

dev-master 2018-03-29 02:47 UTC

This package is not auto-updated.

Last update: 2024-10-27 06:23:32 UTC


README

诺诺开放平台SDK (非官方)

安装

$ composer require 96qbhy/nuonuo-php-sdk:dev-master

使用示例

require 'vendor/autoload.php';

$config = [
    'appId'     => 'appId',
    'appSecret' => 'appSecret',
    'userTax'   => 'userTax',
];

$nuonuo = new \Qbhy\Nuonuo\Nuonuo($config);

// 查询请求开票信息接口
$result = $nuonuo->quickInvoice->querySpeedBilling();
var_dump($result);

// 自行调用
$result = $nuonuo->api->request('nuonuo.order.detailsQuery', [
    'companyId' => '',
    'id'        => ''
]);
var_dump($result);

96qbhy@gmail.com