Skip to content

Pixel-Flow/overwatch.py

 
 

Repository files navigation

Overwatch.py

A Python wrapper for https://overwatch-api.net

NOTE: Overwatch.py is in early-Alpha and all features may not work as intended.

How to Install

Use pip:

pip install 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

Packages

No packages published

Languages

  • Python 100.0%