@dokoo/sdk-js
TypeScript icon, indicating that this package has built-in type declarations

0.0.18 • Public • Published

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()

Readme

Keywords

none

Package Sidebar

Install

npm i @dokoo/sdk-js

Weekly Downloads

2

Version

0.0.18

License

MIT

Unpacked Size

21.6 kB

Total Files

19

Last publish

Collaborators

  • dokoo