|
|
#1 |
|
Junior Member
![]() Posts: 4
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. |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,631
Karma: 28549046
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 10:15 AM |
| Server as Client to Calibre | shinyplastic | Server | 2 | 09-21-2018 01:50 AM |
| Calibre server REST API (ajax) | ZioNemo | Calibre | 3 | 10-27-2017 08:11 AM |
| calibre Content Server Interfacing API | alexyeo | Development | 2 | 11-01-2011 12:18 AM |
| client side imagemap in epub questions | juicymixx | ePub | 0 | 06-30-2011 01:05 PM |