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, however they don't really fit my needs. Also made this one small and simple.
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 = Match(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.4.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file pubg-toolbox-0.0.4.tar.gz
.
File metadata
- Download URL: pubg-toolbox-0.0.4.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc391dca6b5d8f05b43f2ac68df692473c8aad95b532e2ce4b1ba4e485f91f37 |
|
MD5 | 69dd6f8ced784cdae79def7cde136575 |
|
BLAKE2b-256 | 122393ac28d9b432c51d3b8cae6d82ee62fd1b9a39caaeacdfe6cc5a9acbef96 |
File details
Details for the file pubg_toolbox-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: pubg_toolbox-0.0.4-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc24ccf4e4bdabbe9e7b5a9f023cb9226fbb787f23870c3641d9c7e6767d3cb0 |
|
MD5 | 6220a7499389329655166a086d622968 |
|
BLAKE2b-256 | 2efc5378f41571d6ea0189c4effd7fd5d0c253ff21af420155a0fe787b7ddc63 |