1.0.1 • Published 3 years ago

bloxlink-fetch v1.0.1

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

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));
1.0.1

3 years ago

1.0.0

3 years ago