Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Pixel-Flow/overwatch.py

Open more actions menu
 
 

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.