I use some part of the calibre code like these:
- update MOBI book's EXTH header to change ASIN:
https://github.com/xxyzz/WordDumb/bl...etadata.py#L54
- get HTML bytes of MOBI book:
https://github.com/xxyzz/WordDumb/bl...rse_job.py#L58
- send book to device:
https://github.com/xxyzz/WordDumb/bl...nd_file.py#L19
- get certain MOBI header:
https://github.com/xxyzz/WordDumb/bl...tadata.py#L118
Is there any equivalent handy APIs already exist in calibre? If not, I'd like to send a few pull requests to add them.