Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 773 Bytes

README.md

File metadata and controls

42 lines (26 loc) · 773 Bytes

OverwatchPy

A Python wrapper for https://overfast-api.tekrop.fr/

I wrote this very fast so it's not very good, but it works.

Please open a PR if you want to improve it or add more features.

Requirements

  • Python 3.11 (3.9+ should work)
  • Poetry

Installation

poetry install

Usage

from overwatchpy import Overwatch

search: Overwatch.player_search = Overwatch.player_search("twizy", "quickplay", "pc", "public")

for player in search:
    print(player.name)

client = Overwatch()

heros = client.heroes(role="tank")
for hero in heros:
    print(hero.name)

player = client.all_player_data(battletag="TeKrop#2217")

print(player.data)

License

MIT