1.2.1 • Published 3 years ago

bubblez.js v1.2.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Bubblez.js

About

Bubblez.js is the official module made to easily interact with the Bubblez api (https://bubblez.app/api/) in nodejs. The bubblez.js module require nodejs version 14 or above.

Install

npm install bubblez.js

How to use

First you should obtain your api token through the settings page. Use the below code to start a client, replace "token here" with your api token. The options can be removed if you don't want to use any options. Warning: Make sure to start contacting the bubblez api after the ready event has been fired and not before. If the ready event hasn't been fired yet, the token hasn't been set either!

const bubblez = require('bubblez.js');
const client = new bubblez.Client({ options });

client.once('ready', user => {
    console.log("Logged in as: " + user.username);
});

client.login("token here");

For documentation look at our wiki

1.2.0

3 years ago

1.2.1

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago