Introducing WaniKani Stats (beta).
Adds a “Stats” button to main menu, which replaces the dashboard with some stats. Clicking that button again, brings back the normal dashboard.
Thank you so much for creating this!
I’ve just installed the script and added my API key, however I seem to be getting your stats:
Just thought I’d let you know in case it was a bug. Or, it could just be me! That does tend to happen …
Whoops, looks like I left my read only key hard coded in there from early testing.
For whatever reason when I take that out, the whole main area fails to load. I’ll have to look into this more in a bit.
Just updated to version 0.3
Still needs some visual tweaking and performance enhancements, but it should at least work correctly now.
I just tried updating but unfortunately I’ve still run into the same issue. I tried updating, uninstalling completely, reinstalling, turning the script off and on again, etc.
I had a quick look at the code and it looks like your API key may still be in there (line 11289). After I hardcoded my own API key into the script, saved and refreshed, my stats appeared! So hopefully an easy fix for you. My backend skills are rusty af and it’s late so I may attempt a proper fix tomorrow if you don’t get a chance to look at it.
Dagnabit, I did it again. When page wasn’t loading, I put my key back in, to see if pulling key from the store was somehow related, and never switched it back.
Just pushed v0.4
Hahaha it’s all good, v0.4 is working perfectly!
Thank you again for writing this script and for patching the bug