Currently the API gives a bit of flexibility, but it’s missing 2 key components IMO:
- The ability to delete Decks (at least those you created yourself)
- The ability to create Filtered Decks
Reference on github (can’t post links): /ankidroid/Anki-Android/blob/main/AnkiDroid/src/main/java/com/ichi2/anki/provider/CardContentProvider.kt
1 Like
licryle
2
If anyone strays here, I’ve created a little Library to extremely easily call AnkiDroid API from your Android app.
It doesn’t implement extra features the API doesn’t support indeed, but does all checks and balances before calling the API.
I’ve also dug up from API capabilities in my code and can advice if someone needs.
Anyway, here’s the library: github .com/licryle/AnkiDroidAPIHelper (no links allowed)
1 Like