You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

bloxlink-api-sdk

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bloxlink-api-sdk

Official Node.js API wrapper for interacting with the Bloxlink API.

1.0.1-dev
latest
Source
npmnpm
Version published
Weekly downloads
13
-38.1%
Maintainers
1
Weekly downloads
 
Created
Source

Official Node.js API wrapper for interacting with the Bloxlink API.

npm version npm downloads lint status MIT License

About

bloxlink-api-sdk is the official Node module for Bloxlink's API written in TypeScript. It offers full coverage of the Bloxlink API and will support future updates.

Note: Some features may require premium or privileged API keys. Consult the Bloxlink Developer Portal for more information.

Installation

npm

Example Usage

The Bloxlink API is divided into the guild and global APIs. As such, we offer two client classes respectively: GuildAPIClient and GlobalAPIClient.

Guild API

const Bloxlink = require("bloxlink-api-sdk");
const bloxlink = new Bloxlink.GuildAPIClient({ apiKey: "BLOXLINK GUILD API KEY", guildId: "SERVER ID" });

const resp = await bloxlink.discordToRoblox("DISCORD USER ID");
console.log(resp);

Global API

const Bloxlink = require("bloxlink-api-sdk");
const bloxlink = new Bloxlink.GlobalAPIClient({ apiKey: "BLOXLINK GLOBAL API KEY" });

const resp = await bloxlink.discordToRoblox("DISCORD USER ID");
console.log(resp);

When you create the client class, you supply default API options to use (apiKey and guildId). Optionally, you can specify different API options in the last parameter of the methods to override the default values.

Contributing

Contributions are welcome! Create a pull request to the dev branch and follow conventional commit formatting. We use ESLint to enforce a consistent code style.

License

bloxlink-api-sdk is an open-source project licensed under the MIT License.

Keywords

bloxlink

FAQs

Package last updated on 27 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts