bloxlink-fetch
v1.0.1
Published
Promise based library to fetch <a href="https://www.blox.link/">Bloxlink</a> user data
Downloads
6
Readme
Bloxlink Fetch
Promise based library to fetch Bloxlink user data
Table of Contents
- Installing
- Example
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));