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__':
from battlefy_toolkit.resolvers.DiscordIdResolver import DiscordIdResolver
resolver = DiscordIdResolver(f"your.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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7c6bc100dfe969325314c5c6f37a0cf99d14626b90d774c362f4cf376f68aa3 |
|
MD5 | 801bd0febeeaa60290fc40218558dfdc |
|
BLAKE2b-256 | 53a6590c1f64b44279e397235df923391a0c79ec6d9972f58886a3cc27f374c1 |
Close
Hashes for battlefy_toolkit_Slate-1.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f1ea3c56e9662b53a3d121b4c71c4f2d32419309e957faa7a6f5dcc3a938634 |
|
MD5 | 667bd4dd0e9baa10ea0b18d1939cee88 |
|
BLAKE2b-256 | 581a71f97531d029324a22109a929641f928c7cd5f1da4e3fb3a7e49cdb72c42 |