Usage
GET /api/quotes
Get a random quote in this format:
[
{
quote:
"What’s the difference between a tick and a lawyer? The tick falls off when you’re dead!",
author: "Jimmy McGill",
},
]
GET /api/quotes/{number}
Returns an array with {number}
quotes e.g. GET /api/quotes/5
.
[
{
quote:
"Wow, my knight in shining armor. That is some sacrifice, quitting a job that you’ve been trying to tank since day one.",
author: "Kim Wexler",
},
{
quote: "The lesson is, if you’re gonna be a criminal, do your homework.",
author: "Mike Erhmantraut",
},
{
quote: "I pretend not to care, but he’s my brother. How can I not?",
author: "Jimmy McGill",
},
{
quote:
"Why do they bury lawyers under 20 feet of dirt? Because deep down, they’re really good people.",
author: "Jimmy McGill",
},
{
quote:
"If I had to do it all over again, I would maybe do some things differently. I just thought you should know that.",
author: "Jimmy McGill",
},
]
Contributing
If you want to add some quotes, just add them in quotes.js file and do a pull request !