Skip to content
/ pypubg Public
forked from lbrictson/pypubg

A thin client for calling the player unknown battleground stat tracker api

License

Notifications You must be signed in to change notification settings

zoloc/pypubg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to pypubg

Contents

Description

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.

Installation

Simply run

pip install pypubg

Example

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")

Contribute

coming soon

About

A thin client for calling the player unknown battleground stat tracker api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%