WaniKani scripters

I don’t know anything about writing scripts myself, but I do know there is a script that adds a button to the dashboard that lets you review random Burn items.

So maybe that does what you’re looking for, or you can at least look through the code that they used.