Skip to main content

An asynchronous wrapper for ow-api.com using aiohttp

Project description

pyowapi

pyowapi is an asynchronous wrapper around an official Overwatch api (https://ow-api.com) using aiohttp.

Example usage

# Import asyncio and pyowapi
import pyowapi


# For a single player
player = pyowapi.get_player("Jayne#1447")
print(player.actual_level)
print(player.private)
print(player.competitive_tank)

# For multiple players
player_list = ["Jayne#1447", "Krusher#9999"]
players = pyowapi.get_bulk_players(player_list)
for single_player in players:
    print(player.actual_level)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyowapi-0.0.4.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

pyowapi-0.0.4-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page