09-25-2023, 08:52 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2023
Device: Kindle Paperwhite
|
API of server for client side
Allow me to ask how to or if I could do these things from the browser:
1. Create links to annotations of EPUB from JSON Request in XHR POST like the one in markdown export i.e http://127.0.0.1:8080/#book_id=12&bo.../12/2/4/2/20/4[f000006]/1:4%29&fmt=EPUB&library_id=Audio-eBooks&mode=read_book 2. Get metadata from a library like a direct SQL query from metadata.db i.e 'SELECT title FROM books'. Or overall how to structure HTTP Protocol for the Content Server. 3. Add/Modify notes of a particular highlight of the book from the client console instead of the UI. |
09-26-2023, 12:24 AM | #2 |
creator of calibre
Posts: 44,422
Karma: 24044628
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
1. You cannot
2. There are APIs for getting book metadata as JSON. See srv/ajax.py 3. See srv/books.py for APIs to use to get and update annotations |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Content Server Json API | mathewparet | Development | 1 | 01-27-2023 09:15 AM |
Server as Client to Calibre | shinyplastic | Server | 2 | 09-21-2018 12:50 AM |
Calibre server REST API (ajax) | ZioNemo | Calibre | 3 | 10-27-2017 07:11 AM |
calibre Content Server Interfacing API | alexyeo | Development | 2 | 10-31-2011 11:18 PM |
client side imagemap in epub questions | juicymixx | ePub | 0 | 06-30-2011 12:05 PM |