Skip to content

Redacted-Nac/bloxlink.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bloxlink.py

Overview

Bloxlink.py is a lightweight wrapper for the Bloxlink API.

Installation

To install the latest stable version of bloxlink.py, run the following command:

python3 -m pip install bloxlink.py

To install the latest unstable version of bloxlink.py, install git-scm and run the following:

python3 -m pip install git+https://github.com/Redacted-Nac/bloxlink.py.git

Basic Usage

Fetch ROBLOX user ID from Discord ID with the guild API

from src import bloxlink

client = bloxlink.Bloxlink(token="YOUR TOKEN HERE", guild=GUILDIDHERE)

userid = client.guild_discord_to_roblox(userid=IDHERE)

print(userid)

Fetch Discord user ID from ROBLOX ID with the guild API

from src import bloxlink

client = bloxlink.Bloxlink(token="YOUR TOKEN HERE", guild=DISCORDGUILDIDHERE)

userid = client.guild_roblox_to_discord(userid=IDHERE)

print(userid)

About

A lightweight wrapper for the bloxlink API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages