【文件属性】:
文件名称:systembolaget:Systembolaget 的简单 api 包装器
文件大小:3KB
文件格式:ZIP
更新时间:2021-07-07 01:37:12
JavaScript
Systembolaget API 包装器
###Credits 本模块使用提供的 api
###安装
npm install systembolaget
var sb = require('systembolaget').client(mashape_key);
您需要一个 Mashape 应用程序密钥才能使用此模块。
你可以在这里得到一个:mashape.com
###用法
####获取国家
sb.get('country', callback)
####获取标签
sb.get('tag', callback)
####获取产品
sb.get('product', params, callback)
#####可用参数
alcohol_from: NUMBER
alcohol_to: NUMBER
apk_from: NUMBER
apk_to: NUMBER
cou
【文件预览】:
systembolaget-master
----package.json(687B)
----README.md(1KB)
----tests()
--------keys.json(44B)
--------test.js(1KB)
----lib()
--------sb.js(1KB)