Calibre Python code for fetching by asin/googleid
Is there a portion of Calibre Python code that's easy to reuse/adapted to fetch metadata using an asin or googleid, preferably with the option to specify the host? I was looking in src/calibre/ebooks/metadata/ but there's a lot more going on than this simple function.
This is for importing books into calibre using an external script. Usually use fetch-ebook-meta but that only works for isbn or name/author, whereas the Calibre interface seems to be able to fetch based on asin or googleid.
|