https://github.com/nodejh/top-api-node-sdk
Taobao TOP API Node.js SDK
https://github.com/nodejh/top-api-node-sdk
Last synced: about 1 year ago
JSON representation
Taobao TOP API Node.js SDK
- Host: GitHub
- URL: https://github.com/nodejh/top-api-node-sdk
- Owner: nodejh
- Created: 2019-09-09T08:17:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T09:33:13.000Z (about 3 years ago)
- Last Synced: 2025-01-16T12:52:31.389Z (about 1 year ago)
- Language: JavaScript
- Size: 502 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## TaoBao TOP API Node.js SDK
### install
```sh
$ npm install top-api-sdk --save
```
### usage
```js
import { RestClient } from 'top-api-sdk';
const client = new RestClient({
appKey: process.env.TOP_APP_KEY || '',
secretKey: process.env.TOP_SECRET_KEY || '',
api: '',
});
const response = await client.invoke('method', params);
```