Simple queries and handles for PUBG data analysis
Project description
pubg-toolbox
A set of APIs that are used for my personal projects. There are already a bunch of awesome utils online such as pubg-python, however I found them doesn't really fit my needs and customize it could take a while.
How to Use
Client
Creating a client is easy
client = PUBGClient('<API key>')
Player
data = client.request(PlayerQuery('<id>', '<platform>'))
player = Player(data)
Seasons
data = client.request(SeasonsQuery('<platform>'))
seasons = Seasons(data)
Matches
data = client.request(MatchesQuery('<account id>', '<season is>'))
matches = Matches(data)
Match
data = client.request(MatchQuery('<match id>'))
player = Player(data)
Telemetry
Telemetry is a bit more complicated as you need get a match first.
With the Match object created from above, use get_telemetry_url
to get the telemtry CDN url.
data = client.request(TelemetryQuery('<telemetry url>'))
Then use event class to deal with each telemetry.
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
pubg-toolbox-0.0.1.tar.gz
(1.6 kB
view hashes)
Built Distribution
Close
Hashes for pubg_toolbox-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57c6aac14ad8029ddfb068b4e1fba4d8d5f704da1f8201b50ccfd5eca42a807f |
|
MD5 | 785ee33985235117a7de1a46ba6ff329 |
|
BLAKE2b-256 | 644af3b4a27be81a14ac5555184364508af7188108820eb06ce239b1fbd0e360 |