bloxlink-fetch
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i bloxlink-fetch

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

10.5 kB

Total Files

7

Last publish

Collaborators

  • dataisloading