Skip to content

donth77/nicolas-cage-quotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nicolas Cage Quotes API

Production host

https://nicolas-cage-quotes.onrender.com/quotes

The Access-Control-Allow-Origin header is set to * so that you can make requests from any domain.

APIs

GET /quotes

Returns an array with one quote:

["Fuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuck!"]

GET /quotes/<count>

Returns an array with <count> quotes e.g. GET /quotes/2

[
  "All right, but when they attack the car, save the radio.",
  "OH, NO! NOT THE BEES! NOT THE BEES!"
]

GET /quotes?movie=<movieID>

Returns an array with quotes from a specific movie e.g. GET /quotes?movie=face-off

["I want to take his face… off."]

GET /quotes?year=<year>

Returns an array with quotes from a specific year e.g. GET /quotes/3?year=2011

[
  "Merry Christmas, YOU ASSHOLES!",
  "I never disrobe before gunplay.",
  "In your hands they go back to being nothing but rocks."
]

GET /quotes?info=true

Provides title and year data for the quotes. Can be used along with the movie and year parameters e.g. GET /quotes/3?movie=con-air&info=true

[
  {
    "title": "Con Air",
    "year": "1997",
    "quote": "Put… the bunny… back… in the box."
  },
  {
    "title": "Con Air",
    "year": "1997",
    "quote": "What do you think I'm gonna do? I'm gonna save the fuckin' day!"
  },
  {
    "title": "Con Air",
    "year": "1997",
    "quote": "Well Hoorah for the sounds of fucking silence."
  }
]

Releases

No releases published

Packages

No packages published