IPL Battlefy Toolkit
Project description
Battlefy-Toolkit
A toolkit to download Battlefy data made by Inkling Research Labs (IPL). Code on Github.
Import prefix is battlefy_toolkit
.
Requirements
- Python 3.9+
DiscordIdResolver
- Can translate a Discord Id to information.
- If multiple requests are to be made, a single DiscordIdResolver should be created and resolve_discord_id called multiply.
if __name__ == '__main__':
resolver = DiscordIdResolver(BOT_TOKEN)
info1 = resolver.resolve_discord_id(97288493029416960)
info2 = resolver.resolve_discord_id(763492840038465537)
print(info1.qualified_username)
print(info2.qualified_username)
Distribution
The following commands should be entered into the venv console:
Windows:
rmdir /S build
rmdir /S dist
py -m pip install --upgrade build
py -m build
py -m pip install --upgrade twine
py -m twine upload dist/*
Linux:
rm -r build
rm -r dist
python3 -m pip install --upgrade build
python3 -m build
python3 -m pip install --upgrade twine
python3 -m twine upload dist/*
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for battlefy_toolkit-Slate-1.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7a12f526ffa9e7e92c64e2df8478580886d037631396d4a791ba919185ed7f6 |
|
MD5 | bc01bedef06f35a0126e21ce6fd0f7a2 |
|
BLAKE2b-256 | d66fb3e79c2a905627e069f54b8e211715fd5da0ff1810d7e51b4e2791e372f6 |
Close
Hashes for battlefy_toolkit_Slate-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a47b9338a0e3082a54e9294b37881a1d41461ded12e30b50d8b89fa8c9a1ae71 |
|
MD5 | d9045b99546960ab46d8ef1fc9446ebd |
|
BLAKE2b-256 | c13d34deca26fc7a5fbcc92ce2fb0998b08f4b016287f14a7aab2c256410edc2 |