๐ Mee6.xyz xp graphing
Edit: this repo is a disgrace, using json as a database? the file gets so big.. Anyway. I'm sure it's useful for someone.
Why is it called 'gwaff?'
- asked no one ever
A mee6 xp graphing python program using matplotlib.
Generate line plots and bar charts from mee6 xp data!
See your xp gain over time, and keep track of your highest talkers!
Originally made for the Mumbo Jumbo Discord server. So it might need a few modifications to get it to work how you'd like it too.
- "Fork this" or download it and use it locally.
- Next, edit the config.yml
darkmode: true # dark mode or not
title: "GWAFF V2"
bottom_message: "\nCheck out the github on bwac2517/gwaff"
plot:
range: 60 # how many users to include in the plots
minium_xp: 500 # anyone with a xp gain below this will not be included in the plots
rank_range: 20 # the interval it starts a new graph
bar:
range: 15 # how many users to include in the bar graph
versus: # the versus plot, change to just 0000000000000 to be blank
- 298294667219435521
- 387259938977742849
- 477148794861912084
- 724378805728313395
data:
range: 300
-
You should make a venv.
Install dependencies withpip install -r requirements.txt
-
Run
python3 gwaff.py --store
every day to collect xp data (at the same time of day to keep consistency) (Use a github action for this to automate it)
This is saved ingwaff.json
strongly recommended you use git incase you want to roll back any unwanted saves -
You can generate a graphs with
python3 gwaff.py --plot --save
, or usepython3 gwaff.py --store --plot --save
to save mee6 data AND plot it at the same time.
you can usepython3 gwaff.py --store --plot --save --post {A discord webhook url}
to post to discord at the same time. -
RECOMMENDED
- Copy this gist to your fork in the path
.github/workflows/data-collection.yml
- In your fork settings, go to "Secrets" and make one called
WEBHOOK_URL
(use that exact name) - Make a discord channel and create a webhook, copy the url for the webhook and enter it into the
WEBHOOK_URL