This is an API that I made while learning and it does a lot of cool things like OCR and QR code generation
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
mask
: The mask for qr code This must be a number between 1 and 5
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 pageQR 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 fromReturns: 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