Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Every anki card is just a webview. Its very possible to call an api


Then you should be able to link me to some docs.


> In Anki, templates are written in HTML, which is the language that web pages are written in. The styling section is CSS, which is the language used for styling web pages.

https://docs.ankiweb.net/templates/intro.html

----

But you'd want AnkiConnect, or a Python-based addon for your workflow


Have you looked into any of the open source clients to see how they are communicating with the server?


I did that. The consens is like, just an example, yanki-connect:

> Anki desktop app auto-launch > Perhaps the most precarious aspect of the Anki-Connect add-on is that the Anki desktop application must be running for any of the API calls to work. Yanki Connect tries to sand down this rough edge by (optionally) automatically launching the Anki desktop app if it's not running already.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: