Recently, I was trying to create a vocabulary list of all of the vocab tagged `#Food`, and was also previously trying to create a common 40k words schedule. In order to do this, I tasked my AI with drafting up a quick wrapper around Renshuu's API, and then had it write a script to search for all `#Food` words and create a study schedule.
A few problems arise, and I'll create separate forums threads for each. For this thread, search APIs are quite limited. It's by string-only, and doesn't present the features of advanced search. Not the biggest deal, code can filter, but it would be convenient, provided parameters, to be able to optimize my API usage in that way.
This is a huge undertaking, and most likely will not be done for awhile, as it would be a fairly complex api interface (especially because the current Advanced Search is not so "flat", but can include one or multiple types of different searches/filters/etc., and then has a second step, which is the action stage.
I can hack together the interlinking easily enough between the api itself and the underlying code. What will take work (and I'd love to hear your thoughts on this) is what the api endpoints/options/parameters might look like.
I can see several things that will complicate it:
1. Each term type has different options for gathering the materials (but the actions and filters are...mostly the same)
2. Converting AS's step by step procedure into interlinking API endpoints (this seems like the biggest one).
3. Many of the options require the system calling up user-specific data to provide to you to select. For example, if you have not already gotten a list of schedules and filtered them by term type, then you will not be able to, for example, call the "add this schedule to the list of terms".