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 build
py -m pip install --upgrade twine
py -m twine upload dist/*
Linux:
rm -r build
rm -r dist
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e91eadc9688522a426c8dbc8fd7d4b4b864d1d65df955ad8931914f71c88657 |
|
MD5 | 60faceab9bd5aa8f250cfa570e059496 |
|
BLAKE2b-256 | de37282cf85d233fb848a66175bd03df9b6783361fcc694b96060a51d0bc8764 |
Close
Hashes for battlefy_toolkit_Slate-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc368d3f22d91eae71d5b5980f2c56770bd1548a5d2f96e38d8b6ba1a72fe707 |
|
MD5 | cf8f89fe467537738e733839e050729c |
|
BLAKE2b-256 | 3ffc6b438f3d4dd9a437eee4e12652433d4a797895b0f740a0aacb9f70e1d5b2 |