An Overwatch stat scraper designed for ease of use. Plug in a battletag, select the desired hero and filter, and call the function. The data will be returned as a list, ready to manipulate and use as you wish.
Installation
pip install python-overwatch
Requirements
Python 3.6
Usage
Modes: qp
cp
Filters: combat, assists, best, average, deaths, match awards
game, miscellaneous, hero specific
# Default filter: 'best'
# Default mode: 'qp'
Examples
Find play time for all heroes
from overwatch import Overwatch
overwatch = Overwatch(battletag="Okush#11324")
print(overwatch.playtime)
[
'Pharah', '40 hours',
'Roadhog', '32 hours',
'Mei', '29 hours',
'McCree', '20 hours',
'Soldier: 76', '17 hours',
'Mercy', '13 hours',
]
Find hero specific stats
from overwatch import Overwatch
overwatch = Overwatch(battletag="Okush#11324")
print(overwatch(hero="mei", filter="hero specific))
[
'Enemies Frozen', '1,885',
'Enemies Frozen - Most in Game', '30',
'Blizzard Kills - Most in Game', '13',
'Blizzard Kills', '587',
'Damage Blocked - Most in Game', '12,569',
'Damage Blocked', '442,710',
'Melee Final Blows - Most in Game', '4',
'Enemies Frozen - Average', '10.73',
'Damage Blocked - Average', '2,521',
'Blizzard Kills - Average', '3.34'
]
Find overall best stats
from overwatch import Overwatch
overwatch = Overwatch(battletag="Okush#11324")
print(overwatch())
[
'Eliminations - Most in Game', '48',
'Final Blows - Most in Game', '31',
'Damage Done - Most in Game', '23,924',
'Healing Done - Most in Game', '14,379',
'Defensive Assists - Most in Game', '26',
'Offensive Assists - Most in Game', '8',
'Objective Kills - Most in Game', '32',
'Objective Time - Most in Game', '04:22',
'Multikill - Best', '5',
'Solo Kills - Most in Game', '31',
'Time Spent on Fire - Most in Game', '13:29'
]
Find combat stats for any hero
from overwatch import Overwatch
overwatch = Overwatch(battletag="Okush#11324")
print(overwatch(hero="dva", filter="combat"))
[
'Eliminations', '541',
'Deaths', '149',
'Final Blows', '264',
'Solo Kills', '89',
'All Damage Done', '220,531',
'Objective Kills', '172',
'Objective Time', '30:47',
'Multikills', '9',
'Environmental Kills', '2',
'Melee Final Blows', '5',
'Time Spent on Fire', '36:05',
'Critical Hits', '4,436',
'Hero Damage Done', '3,111',
'Barrier Damage Done', '3,827',
'Critical Hit Accuracy', '8%',
'Weapon Accuracy', '31%']
]
Specify you want competitive mode stats
from overwatch import Overwatch
overwatch = Overwatch(battletag="Okush#11324")
print(overwatch(mode="cp", hero="pharah", filter="best"))
[
'Eliminations - Most In Life, '12',
'All Damage Done - Most In Game', '6,943',
'Weapon Accuracy - Best In Game', '65%',
'Kill Streak - Best', '12',
'All Damage Done - Most In Game', '37,699',
'Eliminations - Most In Game', '61',
'Final Blows - Most In Game', '45',
'Objective Kills - Most In Game', '33',
'Objective Time - Most In Game', '01:27',
'Solo Kills - Most In Game', '7'
]
Metadata
Release files for python-overwatch 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python-overwatch-1.0.6.tar.gz | 7.2 kB | Without provenance | Details for python-overwatch-1.0.6.tar.gz |
Release files / python-overwatch-1.0.6.tar.gz
| Download URL | python-overwatch-1.0.6.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24890c74aa2811a03cbc27223d9808ab24daf51a88da2c004e8475008ddec8b8
|
|
BLAKE2b-256 checksum How to use checksums |
0f9832cd24c1fb51d33a2e3b6a99395aee97287cd571122a927e2123d88111e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for python-overwatch 1.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.