Project

whenkani

0.0
No commit activity in last 3 years
No release in over 3 years
Helps you know when you're ready to study WaniKani
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.13
>= 0
~> 10.0
 Project Readme

Whenkani

Tells you when you're ready to study at WaniKani.

Installing

$ bundle gem install whenkani

Usage

First, you'll need your API key from your Account page

Set the API key via an environment variable (usually sourced in a profile):

$ WANIKANI_API_KEY=abcdef12345 whenkani

Set the API key as a command line argument:

$ whenkani abcdef12345

Output

When you're ready to study

When you have lessons or reviews to do, you'll see this output:

$ whenkani
You're ready to study!
https://www.wanikani.com/dashboard

whenkani will exit with code 0 if you're ready to study.

When you have no lessons or reviews

When you don't have lessons yet, whenkani will tell you how long to wait:

$ whenkani
You're not ready, come back in 4 minutes

whenkani will exit non-zero if you're not ready to study. This may be useful if you want to incorporate this gem into other automation scripts.