bearychat.js
BearyChat API client for Node and the Browser.
Install
$ npm i bearychat
or with yarn
$ yarn add bearychat
Usage
Plain usage example:
const bearychat = ;bearychatrtmstarttoken: '<your token>' ;
Use HTTPClient:
const HTTPClient = HTTPClient;const client = '<your token>';clientrtmstart ;
Note that you DON'T need to parse response to JSON with HTTPClient, this is handled automatically.
Test
$ npm run test
Contributing
Contributing is welcome, the contribution guide can be found in CONTRIBUTING
Generating API Client
- npm run download-api-schema
- npm run build:src
LICENSE
MIT