Crate wp_mini_epub

Crate wp_mini_epub 

Source

Modules§

prelude

Structs§

StoryDownload

Enums§

AppError
StoryField
Represents the fields that can be requested for a Story object from the Wattpad API.

Functions§

download_story_to_file
Downloads and processes a Wattpad story, saving the result to provided file.
download_story_to_folder
Downloads and processes a Wattpad story, saving the result as an EPUB file.
download_story_to_memory
Downloads and processes a Wattpad story, returning the EPUB as an in-memory byte vector.
login
logout

Type Aliases§

StoryResponse
Represents the response data for a full story object. Alias for [model::Story].