2.0.0 • Published 5 years ago

docbase-js v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

docbase-js

CircleCI

API client for DocBase built with TypeScript

Installation

npm:

$ npm install --save docbase-js

yarn:

$ yarn add docbase-js

Usage

Initialize

import docbase from 'docbase-js'

const { comment, group, post, tag, team, user } = docbase({
  /* Required */
  domain: 'your-team-domain',
  token: 'YourAccessToken123',

  /* Optional */
  baseUrl: 'https://api.docbase.io',
  timeout: 3000,
  version: 2
})

Call API

import docbase from 'docbase-js'

const { team } = docbase({ domain: 'your-team-domain', token: 'YourAccessToken123' })
const { data } = await team.list()

Links

License

MIT

2.0.0

5 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.2.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago