@dokoo/content-api
v0.0.11
Published
## Installation
Downloads
15
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',
spaceId: 'xxx'
})
const feed = client.feeds.getFeed('<feed-id>')
const { hits } = await feed.get()
// Do something with hits
console.log(hits)
}
main()