Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qbhy/nuonuo-php-sdk
诺诺开放平台SDK
https://github.com/qbhy/nuonuo-php-sdk
Last synced: 20 days ago
JSON representation
诺诺开放平台SDK
- Host: GitHub
- URL: https://github.com/qbhy/nuonuo-php-sdk
- Owner: qbhy
- Created: 2018-03-28T03:04:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-03-29T02:47:39.000Z (over 6 years ago)
- Last Synced: 2024-07-14T16:51:21.815Z (5 months ago)
- Language: PHP
- Size: 17.6 KB
- Stars: 9
- Watchers: 0
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nuonuo-php-sdk
诺诺开放平台SDK (非官方)* [诺诺开放平台 API](https://open.jss.com.cn//interplatform/getApiList.do?index=1)
## 安装
```bash
$ composer require 96qbhy/nuonuo-php-sdk:dev-master
```## 使用示例
```php
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);
```