pypubg is a thin wrapper to call the PUBG tracker API to grab player stats. pypubg currently only supports python 3.
To use this you will need an api key for pubgtracker.com, you can get one here: https://pubgtracker.com/site-api Please respect their rate limiting suggestions on their website.
Simply run
pip install pypubg
Getting a PC player's stats
from pypubg import core
api = core.PUBGAPI("your-api-key")
api.player("akustic")
The data is returned to use as a python dictionary.
Getting stats for a play mode
from pypubg import core
api = core.PUBGAPI("your-api-key")
api.player_mode_stats("akustic", game_mode="squad")
Getting skill rating for a play mode
from pypubg import core
api = core.PUBGAPI("your-api-key")
api.player_skill("akustic", game_mode="solo")
coming soon