02-19-2014, 09:38 AM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jan 2014
Device: Kindle
|
Get author list from AJAX API
I'm trying to write a new web-based front end to the Calibre content-server, utilizing the ajax API.
The API makes it really easy to get information about books very easily, but is there a straightforward way to get lists of authors? I want to somewhat duplicate the functionality of the "browse/category/authors" page in the default web interface, although maybe not as complex. I'd like to be able to just get a list of authors. ajax_search only returns lists of book ids. Is this possible? |
02-19-2014, 09:27 PM | #2 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
/categories will give you a list of all category types available in the db, from there get the URL for authors and call it to get a list of authors, then use /books_in/{category}/{item} to get the list of books in that category.
|
Tags |
calibre-server |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
View All Author's Books in a Author list | wolfskies | Library Management | 2 | 05-16-2013 09:57 PM |
Help. Author list gone | quoddle | Library Management | 2 | 05-01-2012 03:19 AM |
author list | Stampercam | Library Management | 2 | 01-16-2012 05:32 PM |
How do I sort the author list by first name? | Over | Calibre | 2 | 10-02-2010 09:03 AM |
Author List | salty_seadog | Sony Reader | 7 | 03-31-2009 01:37 PM |