GithubHelp home page GithubHelp logo

matthieuvion / wzkd Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 12.74 MB

Streamlit-based dashboard that collect, aggr. and visualize player's stats from Call of Duty Warzone1. Also deploy our model (cf. /match2kd repo) to predict game difficulty ("lobby kd") from game features.

Home Page: https://warzone1-kd.streamlit.app

Python 100.00%
api callofduty dashboard plotly streamlit xgboost

wzkd's Introduction

WZKD logo

License: MIT made-with-python

The app is accessible on warzone1-kd.streamlit.app.
Update : As of Nov 2022, Activision is transitioning to Warzone 2 and discontinued Warzone 1 API.The app is still functional but now works exclusively "offline", from previously saved API responses, with a default --fixed, username/platform.

wzkd is a Streamlit app that collect, aggregate and visualize players' stats from Call Of Duty API (Warzone 1).
The app is live (no database), but optimized with (partially) asynchronous calls and custom caching methods.
It is the main facade which relies on two other personal projects to run :

  • wzlight (also on pypi) : a light, asynchronous python wrapper for 'Callof' API (Warzone 1).
  • match2kd : a XGBoost model aiming at predicting game difficulty ("lobby kd") from a match's features only, potentially saving thousands -- otherwise mandatory, API calls to players' profiles and matchs.

demo gif

What you might find useful

  • Use/showcase quite a lot of Streamlit features, ecosystem : layout options, tables vs. Ag Grid vs. Plotly, examples of customized visualizations (rendering.py)
    screenshot rendering

  • Modules and main app (Home.py) are annotated so (let's hope) you can figure what / how the whole thing is running

  • Overcome some "limitations" of Streamlit, especially when working on a live project + in an async environment : async code, caching & backoff policy using external libraries.
    screenshot rendering

  • No database (feature or not ^_^)), data is collected live from recent game history and a cache system prevents spamming COD API / being limited.

  • Data (COD API) processing and stats aggregations using Pandas. Data collection is build on top of our other project "wzlight", an async wrapper for COD API.

  • Implementation of an XGB model (predict avg "lobby kd") screenshot rendering

  • Warzone/CallofDuty behind-the-scene : some documentation/notebooks/bookmarks, weapons/game modes labels and parsers; also take a look on ressources listed on wzlight.

wzkd's People

Contributors

matthieuvion avatar

Stargazers

stan_btd avatar Nicolas Yzet avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.