Skip to content
This repository has been archived by the owner on Oct 10, 2021. It is now read-only.

Latest commit

 

History

History
37 lines (24 loc) · 954 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 954 Bytes

Overwatch.py

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.

How to Install

Use pip:

pip install git+https://github.com/Nanomotion/overwatch.py.git

Source code:

Download master.zip

Example

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.

Requirements

  • Python 3 (3.5 or higher is recommended)
  • requests
  • urllib3

Read the Documentation