Python wrapper for Overwatch API
Project description
OverwatchPy
A Python wrapper for https://overfast-api.tekrop.fr/
I wrote this very fast so it's not very good, but it works.
Please open a PR if you want to improve it or add more features.
Requirements
- Python 3.11 (3.9+ should work)
- Poetry
Installation
poetry install
Usage
from overwatchpy import Overwatch
search: Overwatch.player_search = Overwatch.player_search("twizy", "quickplay", "pc", "public")
for player in search:
print(player.name)
client = Overwatch()
heros = client.heroes(role="tank")
for hero in heros:
print(hero.name)
game_modes = client.gamemodes()
for game_mode in game_modes:
print(game_mode.name)
print(game_mode.description)
License
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
overwatchpy-0.0.3.tar.gz
(5.7 kB
view hashes)
Built Distribution
Close
Hashes for overwatchpy-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ce818b0841f9c0061aaed0c53f4bfa3d7a4873e1d0d7283e01b3a23f0fefb45 |
|
MD5 | 4176c48f7518bbadc6163ba5bfc5b0c3 |
|
BLAKE2b-256 | 517867a8d58611fa03cdcfb19eb561b670486b46b98fcae4372728498ab81cd1 |