Giter Site home page Giter Site logo

kunlin812 / breaking-bad-quotes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shevabam/breaking-bad-quotes

0.0 0.0 0.0 70 KB

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

Home Page: https://breakingbadquotes.xyz/

JavaScript 100.00%

breaking-bad-quotes's Introduction

Breaking Bad quotes API

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

๐ŸŒ Website and demo: https://breakingbadquotes.xyz/

Production host

๐Ÿ†• https://api.breakingbadquotes.xyz

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

API

GET /v1/quotes

Get a random quote in this format:

https://api.breakingbadquotes.xyz/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://api.breakingbadquotes.xyz/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"
  }
]

Postman

You can integrate the API into Postman thanks to the Postman collection available on the repository.

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.

breaking-bad-quotes's People

Contributors

adnan-mujagic avatar adnnahmed avatar anthony-narvaez avatar anuragd275 avatar atalaysezen avatar atharvanvaidya avatar ayush2753 avatar codythegreat avatar daveyvdweide avatar egekaplan avatar germanicus1982 avatar gpalleschi avatar guewen avatar imsyntn avatar irfan-karabacak avatar jfaduna avatar kennethryandy avatar kingbond470 avatar manasamancharla avatar marynfs avatar nazsakib avatar nottamion avatar nvkex avatar perisicnikola37 avatar rcgv1 avatar saileshbk avatar shevabam avatar v1ncejs avatar vinaymirchandani-tecblic avatar xaderfos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.