Fetch quotes from some of my favourite authors.
Quote{
_id: String, //autogenerated
tags: String[]
quoteText: String,
author: String,
source: String
}
https://tintin-quotes-api.herokuapp.com
/quotes
Returns all the quotes in the database.
/quotes/author/<nameOfAuthor>
Returns all quotes by specified author.
Example:
/quotes/author=Neil Gaiman
Returns all quotes by Neil Gaiman.
quotes/source/<nameOfSource>
Returns all quotes from specified source.
Example:
/quotes/source/Coraline
Returns all quotes from Coraline.
/quotes?limit=<NUMBER OF QUOTES REQUIRED>
Returns required number of quotes from the database.
/quotes/author/<nameOfAuthor>?limit=<NUMBER OF QUOTES REQUIRED>
Get required number of quotes returned by specifying a number after author or source.
Example:
/quotes/author/Neil Gaiman?limit=20
Returns 20 quotes by Neil Gaiman.
/quotes/random
Returns random quote from database.
/quotes/random?limit=10
Returns 10 random quotes.
/authors
Returns an object containing an array of authors supported by the API and the number of authors supported.
-
Ursula K Le Guin
-
Neil Gaiman
-
Douglas Adams
-
Arthur C Clarke
-
Isaac Asimov
-
Haruki Murakami
-
Terry Pratchett