ping / libby-calibre-plugin

OverDrive Libby Plugin for calibre
https://www.mobileread.com/forums/showthread.php?t=354816
GNU General Public License v3.0
66 stars 13 forks source link

Retrieve Overdrive Wishlist or Libby Tags book lists #12

Open technogyre opened 1 year ago

technogyre commented 1 year ago

I would like to be able to view books in my Overdrive wishlist (overdrive.com/[library_id]/content/account/lists/wishlist) or my Libby app tags (https://libbyapp.com/shelf/tag/[tag_name]). I like to search books on my library's overdrive or libby interface, since they have nice filtering capabilities and I like to use the wishlist or tags to save books for later reading. While I understand it is possible to load available holds from the interface, my library limits the number of holds I can have (justifiably), and there are many books on my wishlist which are available and I would like to be able to loan multiple at one time.

This plugin has already been an amazing quality of life improvement for working with Overdrive libraries and Calibre. Depending on the complexity, I would probably be willing to help develop this as a feature since I'm a final year eng/comp sci undergrad and developer.

ping commented 1 year ago

I don't use tags very much personally and probably will not be able to implement this anytime soon. If you would like to try, please feel free!

Edit: Also, would you be interested in taking on a maintainer role? For personal reasons, I foresee myself taking a step back from active development in the near future. If you have ideas for the plugin you wish to implement, I would be happy to grant you the roles needed.

ping commented 1 year ago

@TechGuygamer I took a quick look at the tags page on Libby and added some new Libby API endpoints that you may need to use to implement this. For these endpoints to work, an existing bug related to the identity token in the plugin had to be fixed (74e6a663f8acf9939cb07d4f3e13c9fc8b3a57e5).

These new endpoints have only been very lightly tested, so there may be bugs.

I noticed you mentioned OverDrive wishlist. In case that it's not obvious, this plugin cannot access authenticated OverDrive data. Auth-required data comes exclusively from Libby endpoints. I believe OverDrive wishlists can be synced to Libby but I haven't tried that myself.