kanji koohii FORUM
anki decks format - Printable Version

+- kanji koohii FORUM (http://forum.koohii.com)
+-- Forum: Learning Japanese (http://forum.koohii.com/forum-4.html)
+--- Forum: Off topic (http://forum.koohii.com/forum-13.html)
+--- Thread: anki decks format (/thread-12560.html)



anki decks format - cophnia61 - 2015-02-23

What is the fastest and easiest way to access an anki deck content programmatically? I know anki uses sqlite so the best would be to just have the db itself ready to be accessed via php as if it is a standard sqlite db... but I don't know the specifics of the apk format... is it a collection of compressed dbs or what? Thank you in advance!


anki decks format - Vempele - 2015-02-23

An .apkg file is a zip file (try renaming one!) containing two files: collection.anki2 (an sqlite database) and media (a json file). Here's a partially annotated schema.

Quote:What is the fastest and easiest way to access an anki deck content programmatically?
Writing an Anki addon.


anki decks format - cophnia61 - 2015-02-23

Vempele Wrote:An .apkg file is a zip file (try renaming one!) containing two files: collection.anki2 (an sqlite database) and media (a json file). Here's a partially annotated schema.

Quote:What is the fastest and easiest way to access an anki deck content programmatically?
Writing an Anki addon.
Thank you Vempele! Very useful as always!!
I want to do a website to browse my kanji deck Tongue


anki decks format - Vempele - 2015-02-23

Like Fuzzy-Anki?


anki decks format - cophnia61 - 2015-02-23

Vempele Wrote:Like Fuzzy-Anki?
Wow this looks great! But in my case I need something simpler so in the end I realized for me it's enough to export my deck in a tab delimited txt and load it in a sql table, but thanks anyway! I'm sure sooner or later I'll need this wonderful Fuzzy Anki!