Skip to content

smltr/OverPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

OverPy

Web scraper for Overwatch statistics

Dependencies

requests

lxml

Usage

Import OverPy and the overpy function

from overpy import overpy

Use the 'Overpy' function as follows

player_stats = overpy('en-us', 'pc', 'Player-1234')

The strings passed are in the order of: region, platform, BattleTag(replacing the # with a -).

You must enter the full BattleTag including the trailing numbers.

NOTE: there will be a delay while the scraper is running.

Retrieve statistics from the returned dictionary as follows:

player_stats['ALL HEROES']['Eliminations']
>>>'1,169'
stats['REAPER']['Time Spent on Fire']
>>>'05:08'

I will work on making the capitilization more intuitive for the dictionary.

NOTE: as of now this only retrieves competitive stats.

About

Web scraper for Overwatch statistics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages