Nhentai().book_date() - exentio/nhentai_api GitHub Wiki

Nhentai().book_date(book_id, return_string = False)

Gets the date of a book.

Returns a Unix timestamp as an int if the ID is the only parameter; instead if return_string is set to True, it returns a str in the format DD-MM-YYYY HH:MM:SS.

Example:

>>> Nhentai().book_date(177013)
1476793729

>>> Nhentai().book_date(177013, True)
'18-10-2016 12:28:49'