FooSoft / anki-connect

Anki plugin to expose a remote API for creating flash cards.
https://foosoft.net/projects/anki-connect/
Other
1.94k stars 220 forks source link

A way to access raw values from getCollectionStatsHTML action #261

Open MannyWeeb opened 3 years ago

MannyWeeb commented 3 years ago

I'm looking for a functionality that allows me to pull the raw numerical values from the getCollectionStatsHTML()

After skimming through all the available documentations, I can't seem to find any function that does this now, and would love to have a discussion on whether or not this can be done.

thiswillbeyourgithub commented 2 years ago

Just stumbled upon your issue. If you're still after this, know that I implemented a way to query anki's console from anki-connect. Allowing you to query any thing at all.

It's not yet approved but is part of my large PR: #283

MannyWeeb commented 2 years ago

I see, the project that I intended to use this feature on went stale, I had a workaround that was super hacky so It's nice to have something more official, I do look forward to the repository's progress, and I'll check it out if time permits, Thanks a bunch.

thiswillbeyourgithub commented 2 years ago

Another possible way would be to use Anki Pandas, depending on your project.