View Single Post
Old 07-02-2017, 10:16 PM   #16
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by jeffls View Post
Ah, that makes perfect sense.
I've been looking through the docs and code available for plugins, but haven't figured out yet how do a simple one that would take the book selection and execute my python code that utilizes my amazon api login information. It's tough looking through all the plugins to find one that's a good starting point.
I can't really think of a good starting point either. Goodreads Sync uses the Goodreads API and does some changes to the tags, but it does so many other things it can be confusing to find code. But, you should be able to create a metadata source plugin that does it. They aren't limited to scraping web sites. The Fantastic Fiction metadata source plugin uses their API for some of the function. And doing it this way has the big advantage of not having to worry about an UI.

The book selection side of it is easy, and most of the plugins start that way. Again, I'm not sure which to suggest as a starting point, but if you have a look at any of the plugins I'm maintaining, I'll be happy to answer any questions.
davidfor is offline   Reply With Quote