Skip to main content

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)

Uploaded Source

Built Distribution

pubg_toolbox-0.0.1-py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page