Hi all.
What I’m trying to do:
I want to write a basic script that will give me a quantity of randomly select kanji or vocab from anything that is currently Guru or better in my account. I want to then challenge myself to write a paragraph using those “subjects” as writing practice.
I won’t be able to sit and look at this properly until the weekend.
But, I took a quick look at the documentation now and it doesn’t seem as straight forward as what I was hoping.
- It looks like I can get the data on each radical/vocab/kanji from https://api.wanikani.com/v2/subjects and each has it’s own unique
id
. This makes sense and I’m cool with this.
The bit that doesn’t seem immediately obvious for me is how to retrieve which “subjects” are in which condition under my account.
I thought perhaps using https://api.wanikani.com/v2/spaced_repetition_systems/1, but it seems to be the generic rules about the various stages in the SRS, not what level any particular subject is at.
I guess, based on what I’ve read so far, what I’m trying to do is find subjects in my account which have something like “current_stage_position” >= 5 (or, whatever SRS position corresponds to “Guru” level).
Any pointers please?
Also, I’ll do some further research, but what version should be used in the request? The documentation seems to be based on 2017 (20170710) – is this the latest version that I should be using?
Many thanks!