Bloxlink Fetch
Promise based library to fetch Bloxlink user data
Table of Contents
Installing
Using npm:
$ npm install bloxlink-fetch
Using yarn:
$ yarn add bloxlink-fetch
Example
const bloxlinkFetch = require("bloxlink-fetch");
// or while using CommonJS:
// import bloxlinkFetch from "bloxlink-fetch";
bloxlinkFetch({
userId: 1,
guildId: 0, // optional
})
.then((data) => {
console.log(data); // => { account: number; status: "ok" }
})
.catch((error) => console.error(error));