Giter VIP home page Giter VIP logo

quotes-api's Introduction

Quotes API

A simple API to retrieve some quotes of Breaking Bad and more!

Production host

https://quotes-api-x.herokuapp.com

API

GET /v1/quotes

Get a random quote in this format:

https://quotes-api-x.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://quotes-api-x.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.

quotes-api's People

Contributors

arindamxd avatar

Watchers

James Cloos avatar  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.