【文件属性】:
文件名称:shopee-api:Shopee API https的简单包装
文件大小:10KB
文件格式:ZIP
更新时间:2021-05-13 05:12:48
JavaScript
Shopee Api
简单包装
安装
npm install shopee-api
用法
创建一个ShopeeApi对象开始
const ShopeeApi = require ( 'shopee-api' ) ;
const shopeeApi = new ShopeeApi ( {
isUAT : false ,
shopid : 'YOUR_SHOP_ID' ,
partner_id : 'YOUR_PARTNER_ID' ,
partner_key : 'YOUR_PARTNER_KEY' ,
redirect_uri : 'http://localhost:3000/callback' , // callback url when perform OAuth
webhook_url : 'http://localhost:3000
【文件预览】:
shopee-api-master
----.travis.yml(999B)
----package.json(1KB)
----.eslintrc.json(290B)
----test()
--------shopee_test.js(4KB)
----LICENSE(1KB)
----src()
--------index.js(3KB)
----.npmignore(4KB)
----.gitignore(3KB)
----README.md(2KB)
----.gitattributes(66B)