1.6.0 • Published 3 years ago

bloxlink v1.6.0

Weekly downloads
11
License
MIT
Repository
github
Last release
3 years ago

bloxlink is a simple NPM module to interact with the Bloxlink API.

Installation

Use NPM to install Bloxlink.

npm install bloxlink@latest

Example

import getBloxlinkUser from "bloxlink";

(async () => {
  console.log(
    await getBloxlinkUser("528288312448909312", "372036754078826496")
  );
})();

The example above will log the information of the linked account on Bloxlink with the user ID of 528288312448909312:

{
  "discordId": "528288312448909312",
  "robloxId": "263468606",
  "robloxUsername": "TheMasterMuff"
}

If there is no Bloxlink account linked with a user it will return:

{ "status": "error", "error": "This user is not linked with Bloxlink." }

If you hit the rate-limit of 60 requests per 60 seconds it will return:

{ "status": "error", "error": "You are being ratelimited." }

Hope this makes your life a bit easier, have a good one!

1.6.0

3 years ago

1.5.2

3 years ago

1.5.1

4 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago