anki_record (rubygems):   A Ruby library which provides a programmatic interface to Anki flashcard decks (.apkg files/zipped Anki SQLite databases). 
Keywords: anki|ruby-gem