No description
Find a file
Juan Carlos df5a674590 0.20.0
2019-06-06 16:07:07 -03:00
src Fix for Strings as nil 2018-09-30 12:51:08 -03:00
.gitignore Initial commit 2018-09-17 21:23:16 -03:00
calibre.nimble 0.20.0 2019-06-06 16:07:07 -03:00
LICENSE Initial commit 2018-09-17 21:23:16 -03:00
README.md Update Readme 2018-09-18 00:11:56 -03:00

Nim-Calibre

Calibre eBooks App Database Client for Nim.

Books

Install

  • nimble install calibre

Use

import calibre

var client = Calibre(filepath: "/path/to/calibre/metadata.db")
client.connect()
echo client.get_all()
echo client.get_tags()
echo client.get_series()
echo client.get_authors()
echo client.get_formats("96")
echo client.get_synopsis("96")
echo client.get_author_of_book("96")
echo client.get_book_by_name("Hellraiser")
echo client.get_by_author("J. K. Rowling")
client.close()
  • Run nim doc calibre.nim for more Docs.
  • Feel free to send more proc with useful Queries.
  • All proc return a standard lib simple Row object.
  • This is a read-only client, database is meant to be written by Calibre.
  • If you have a Calibre database you can run the module as an Example nim c -r calibre.nim.

Requisites

  • None.

Credits

See both if you want calibre.pycalibre.nim