A Python wrapper for https://overwatch-api.net
This project is deprecated and should no longer be used, as the Overwatch API is no longer being maintained.
NOTE: Overwatch.py is in early-Alpha and all features may not work as intended.
Use pip:
pip install git+https://github.com/Nanomotion/overwatch.py.git
Source code:
import overwatchpy
client = overwatchpy.OWAPI() # Initialize the OWAPI client
ability = client.get_ability(1) # Get ability 1
print("{} is one of {}'s abilities.'".format(ability.description, ability.hero.name))
This will return: Biotic Rifle is one of Ana's abilities.
- Python 3 (3.5 or higher is recommended)
- requests
- urllib3
Read the Documentation