Skip to content

TheRealShreyash/random-api-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Random API Docs

The Official documentation for the Random API

Useful Links

API Reference

Get the version

  GET /api/version

Get Quote

  GET /api/quote
Endpoint Response Type Description
quote JSON Returns a Quote from the API.

Also serves the author of the quote in the response.

Get Roast

  GET /api/roast
Endpoint Response Type Description
roast JSON Returns a Roast from the API.

Also serves the id of the roast so you can report something related to that roast to the Developer by posting issues on this repo.

Get Question

  GET /api/question
Endpoint Response Type Description
question JSON Returns a Question from the API.

Also serves the id of the question so you can report something related to that question to the Developer by posting issues on this repo.

Get Trivia

  GET /api/trivia
Endpoint Response Type Description
trivia JSON Returns a trivia from the API.

Get Token

  GET /api/token
Endpoint Response Type Description
token JSON Returns a 100% safe to use token.

Get Naruto Quiz

  GET /api/naruto
Endpoint Response Type Description
naruto JSON Returns a question with 3 options and correct option which is one of them.

Get Beautified Image

  GET /api/beautify
Endpoint Response Type Description
beautify IMAGE Returns a beautified image from the API.

Get Blurred Image

  GET /api/blur
Endpoint Response Type Description
blur IMAGE Returns a blurred image from the API.

Get Greyscaled Image

  GET /api/greyscale
Endpoint Response Type Description
greyscale IMAGE Returns a greyscaled image from the API.

Author

Others

MIT License