Simple tools for wanikani (https://www.wanikani.com/).
You can run this as simple script or as a flask server.
Requires python 3 with the following modules:
- request
- flask (if running as server)
- mako
python main ACTION V2_TOKEN
ACTION
can be:
verbs
: shows all verbs up to the user's levelfails
: shows all failed reviews for the past 7 days (ignores subjects of the current level)burned
: shows all burned kanjikanji-poster
: generates a kanji poster (all 60 levels)
Run locally:
flask run
Server will available at http://localhost:5000
Available endpoints:
http://localhost:5000/fails?token=<V2_TOKEN>
: shows all learned verbshttp://localhost:5000/verbs?token=<V2_TOKEN>
: shows all failed reviews for the past 7 dayshttp://localhost:5000/burns?token=<V2_TOKEN>
: shows all burned kanjihttp://localhost:5000/poster?token=<V2_TOKEN>
: generates a kanji poster (all 60 levels)
You can run the flask server as a docker container by building the available docker file. The container will be serving port 5000
.