JS SDK for (https://bolaget.io)
This SDK adheres to Semantic Versioning. And it will follow bolaget.io versions.
Version | Linked to |
---|---|
^1.0.0 |
https://bolaget.io/v1 |
Node.js >= 7.6.0
npm install bolaget.io
import { products, product, stores, store } from 'bolaget.io'
Query params available here bolaget.io
const limit = 5
const koscher = true
try {
const data = await products({ limit, koscher })
} catch (e) {
// error handling
}
try {
const data = await product("8617101")
} catch (e) {
// error handling
}
Query params available here bolaget.io
const limit = 2
try {
const data = await stores({ limit })
} catch (e) {
// error handling
}
try {
const data = await store("0146")
} catch (e) {
// error handling
}