Images

Random hand-picked images, random memes from reddit and other reddit parsers.

Get a random Image from a Tag

ksoft.images.random(tag, options);

Success: Returns Image

Not found: Throws error if tag doesn't exist.

Get Tags

ksoft.images.tags();

Success: Returns Array of Tags

Get Image by ID

ksoft.images.image(id);

Success: Returns Image

Not found: Throws error if image by that id doesn't exist.

Get a random Meme

ksoft.images.meme();

Success: Returns RedditImage

Get a random WikiHow Article

ksoft.images.wikihow();

Success: Returns WikiHowImage

Get a cute picture

ksoft.images.aww();

Success: Returns RedditImage

Get an NSFW picture

ksoft.images.nsfw();

Success: Returns RedditImage

Get an image from a subreddit

ksoft.images.reddit(subreddit, options);

Last updated