- /8ball (GET) {/eightball} - Get a random answer
- /qrcode (GET) {/qr} - Get a QR code
- /meme (GET) {/memes} - Gets a random meme from reddit
- /meme/ (GET) {/memes/} - Gets a meme according to your query
- /ocr (GET) - Get the text from an image
- /compliment (GET) {/compliments} - Get a compliment
- /wyr (GET) {/wouldyourather} - Get a would you rather question
- /joke (GET) {/jokes} - Gets a random joke
- Currently accepted colours:
Params: None
Params:
query
: The text to encode - Should be less than 250 charactersdrawer
: The style of the qr code. This must be a number between 1 and 6- 1: Square Module (Default)
- 2: Gapped Squares
- 3: Circles Module
- 4: Rounded Module
- 5: Vertical Bars
- 6: Horizontal Bars
mask
: The mask for qr code This must be a number between 1 and 5- 1: Solid fill (Default)
- 2: Radial Gradient
- 3: Square Gradient
- 4: Horizontal Gradient
- 5: Vertical Gradient
fg
: The foreground colour for qr code, Should be a colour which is in accepted list at the end of the pagebg
: The background colour for qr code, Should be a colour which is in accepted list at the end of the page
QR code returns: A PNG image of the qr code
Params: subreddit
- Choose a subreddit to get memes from (Instead of using the default)
Current sources of random memes are:
Meme returns: A PNG, JPEG, JPG, or a GIF image of a meme.
Pre-Listed topics (For subreddits):
{
"random" : ["memes","meme","dankmemes"],
"memes" : ["memes"],
"coding" : ["programmerhumor","programmingmemes","programminghumor","codingmemes","pythonmemes","javascriptmemes"]
}
Pre listed topics means that these endpoints automatically choose from these "hot" subreddits for you, instead of searching for a relevant subreddit.
Returns: A response with the information about the meme on reddit, as a
json
Params:
url
: The url of the image to get the text from
Returns: A response with the text from the image as a JSON
Params: None
Returns: A compliment as a JSON response
Params: None
Returns: A would you rather question as a JSON response
Params: None
Returns: A random joke as a JSON response
- Random
- Red
- Black
- White
- Green
- Yellow
- Cyan
- Blue
- Magenta
- Gray
- Orange
- Purple
- Brown
- Pink
- Lime
- Olive