flynn.gg

Christopher Flynn

Machine Learning
Systems Architect,
PhD Mathematician

Home
Projects
Open Source
Blog
Résumé

GitHub
LinkedIn

Blog


Chicken Dinner – PUBG replays in Python

2018-06-10 Feed


I recently put together a small visualization library for PUBG match replays. I had originally played around with a bunch of API wrappers in Python, but wasn't satisfied with their functionality, so I wrote my own in order to build the visualizations.

The new Python 3.6 compatible package, chicken-dinner, provides two modules for interfacing with the API:

chicken_dinner.PUBGCore: low-level API wrapper that returns the raw JSON response from the PUBG API

chicken_dinner.PUBG: high-level model-based API wrapper that returns class instances representing PUBG season, match, and player data

One of the models generated by the PUBG class is for Telemetry. The event-based representation of a PUBG match. The Telemetry class provides a means to generate these visualizations, with many customization options. Check out the documentation for more details.

See the project on GitHub.

Further reading

Chicken Dinner package

PUBG API

Dependencies

PUBG

Back to the posts.