Skip to content
A simple API to retrieve some quotes of Breaking Bad, bitch!
JavaScript
Branch: master
Clone or download

Latest commit

Latest commit e9efc37 Mar 28, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Feb 22, 2017
README.md Update Readme Mar 28, 2020
breaking-bad-quotes_header.png Update Readme Mar 28, 2020
package.json First commit Feb 22, 2017
quotes.js Fixed some typo's and corrected a quote. Jan 23, 2019
quotesRepository.js removed `var quoteAlreadyUsed;` Mar 26, 2020
server.js First commit Feb 22, 2017

README.md

Breaking Bad quotes API

A simple API to retrieve some quotes of Breaking Bad, bitch!

🌐 Website and demo: https://breakingbadquotes.xyz/

Production host

https://breaking-bad-quotes.herokuapp.com

API

GET /v1/quotes

Get a random quote in this format:

https://breaking-bad-quotes.herokuapp.com/v1/quotes

[
	{
		"quote": "I am not in danger, Skyler. I AM the danger!",
		"author": "Walter White"
	}
]

GET /v1/quotes/{number}

Returns an array with {number} quotes e.g. GET /v1/quotes/5.

https://breaking-bad-quotes.herokuapp.com/v1/quotes/5

[
  {
    "quote": "Clearly, his taste in women is the same as his taste in lawyers.",
    "author": "Saul Goodman"
  },
  {
    "quote": "Shut the f*ck up and let me die in peace.",
    "author": "Mike Ehrmantraut"
  },
  {
    "quote": "My name is ASAC Schrader, and you can go f*ck yourself.",
    "author": "Hank Schrader"
  },
  {
    "quote": "You all know exactly who I am. Say my name.",
    "author": "Walter White"
  },
  {
    "quote": "May his death satisfy you.",
    "author": "Gustavo Fring"
  }
]

Docker

You can find the Dockerfile here and on Docker Hub.

Contributing

If you want to add some quotes, just add them in quotes.js file and do a pull request !

Credits

Inspired by Ron Swanson Quotes.

You can’t perform that action at this time.