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.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b65b6d7395f6a4575bdfe21f64e6abe295b5ac757f8934ea49cecf8b89f9262 |
|
MD5 | bdc23d3510c3e2628745074e8470da52 |
|
BLAKE2b-256 | c6773a11757174e72c7136a37ad9841ec4237cdb0600fbc91330db257a0bb9aa |
Close
Hashes for battlefy_toolkit_Slate-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee0cbfa9d4f08f81e65b57b7c3b068630a28793ad05cdf97349a5d2a867195f5 |
|
MD5 | 05f0dea0bfe8c2b3bcf1f17001f8fa37 |
|
BLAKE2b-256 | 042b473b5320d40581c65b74223c75996621e70e4c7d883ecb4ffd9d045554f4 |