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

zspri/overwatch.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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