Skip to main content

Crate wp_mini_html

Crate wp_mini_html 

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 a single HTML file.
download_story_to_memory
Downloads and processes a Wattpad story, returning the HTML as an in-memory string.
login
logout

Type Aliases§

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