Endpoints
Get a random image
async fn random_image(&self, tag: impl ToString, nsfw: bool) -> HttpResult<Image, ImageError>
Get a random meme
async fn random_meme(&self) -> Result<RedditImage>
Get a random cute image
async fn random_aww(&self) -> Result<RedditImage>
Get a random WikiHow image
async fn random_wikihow(&self, nsfw: bool) -> Result<WikiHowImage>
Get a random nsfw image
async fn random_nsfw(&self, gifs: bool) -> Result<RedditImage>
Get a random image from a given subreddit
async fn random_reddit(&self, subreddit: impl ToString, remove_nsfw: bool, span: SpanType) -> HttpResult<RedditImage, ImageError>
Get an image using its Snowflake
async fn get_image(&self, sf: impl AsRef<str>) -> HttpResult<Image, ImageError>
Get a list of all tags
async fn get_tags(&self) -> Result<TagList>
Get specific tag by its name
async fn get_tag(&self, tag: impl AsRef<str>) -> Result<TagList>
Last updated
Was this helpful?