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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdbc070133611d1e7c411f6ab7a5c201ada683afd389950f7674e6510e0a963a |
|
MD5 | a0e330f170dbe254828998497f284b26 |
|
BLAKE2b-256 | 72ac5583a0a2e8101d7a5f21d7aac37230a47672fac823a7203a64697105541a |
Close
Hashes for battlefy_toolkit_Slate-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c12c6f998d1231fa80985d9d6da600ccea12b47e8c0b3f16bc2dbf1cb9573dc |
|
MD5 | ff8e29b1187b2fdb43d6a98514fdafb2 |
|
BLAKE2b-256 | 850fdd66d6f030629ff57e52d296c198b38196ee284de1bc4c435850896ff03d |