AnkiWeb API

Maksim's Avatar


05 Jun, 2020 05:09 PM

Are there any ways to communicate with AnkiWeb API via python? I mean to login, add cards, create decks, and so on?
Now I have to use Selenium for such purposes.

  1. Support Staff 1 Posted by Damien Elmes on 07 Jun, 2020 10:38 PM

    Damien Elmes's Avatar

    AnkiWeb's terms do not allow third-party access. If you want to add cards programmatically, you'll need to use AnkiConnect.

  2. 2 Posted by Maksim on 08 Jun, 2020 02:06 PM

    Maksim's Avatar

    Thank you for your answer.
    AnkiConnect is not a good option because Anki application must be open to use it.
    What I want to do is to add cards and do some manipulations via telegram. It could be great if Anki will get a web API for such purposes.

  3. Support Staff 3 Posted by Damien Elmes on 09 Jun, 2020 03:12 AM

    Damien Elmes's Avatar

    AnkiWeb is a free service with limited resources, so I'm afraid you'll need to make do with AnkiConnect for now.

Comments are closed, but you can start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac