Anki add-on: Beeminder Sync

This addon sends your Anki stats to BeeMinder. It can track how many cards you reviewed today or how much time (in minutes) you spent with Anki. The same data that you see in the main Anki window ("Studied 42 cards in 2 minutes today"). Use the "Do more" goal type for BeeMinder (available with the free plan). This addon works with the Anki program on your computer, but if you use Anki on your phone and sync via AnkiWeb, it's also fine. The data will be synced to the computer and then the addon will send it to BeeMinder. It's ok if you don't start Anki on your computer every day (last 7 days are synced). The data is sent to Beeminder at every sync with AnkiWeb (automatically or when you click the "Sync" button depending on your Anki settings). The addon caches the data that it posts to Beeminder, so it does not send the data more often than needed. If you manually edit/delete old datapoints on BeeMinder, the addon probably will not recreate them, but no warranty here, the behavior is undefined. The same if you switch from tracking cards number to time spent without creating a new goal. You've been warned! Start with configuring you auth_key and Beeminder goal name (Tools -> Addons -> Beeminder Sync). I used ideas and maybe a bit of code from this nice Anki addon: https://ankiweb.net/shared/info/1928083890 Thank you! Works fine with Anki 2.1.8, 2.1.26. Does not work with 2.1.28+ (20 Jul 2020) - apparently the syncing process was rewritten from Python to Rust. I don't plan to dig into this, I will stick with the older versions for some time. Feel free to send a patch though. I will be glad if it will be useful for others. Would love to hear some feedback. Cheers!