@dokoo/sdk-js
v0.0.19
Published
## Installation
Downloads
12
Readme
sdk-js
Installation
yarn add @dokoo/sdk-js
Usage
import { Client } from '@dokoo/sdk-js'
const main = async () => {
const client = new Client({
token: 'xxx'
})
const feed = client.feeds.getFeed('<feed-id>')
const { hits } = await feed.get()
// Do something with hits
console.log(hits)
}
main()