Fork me on GitHub

license deployments last-commit repo-size paypal-badge Kofi

Usage

GET /api/quotes

Get a random quote in this format:

https://strangerthings-quotes.vercel.app/api/quotes

      
        [
          {
            "quote": "The gate… I opened it.",
            "author": "Eleven"
          }
        ]
      
    

GET /api/quotes/{number}

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

https://strangerthings-quotes.vercel.app/api/quotes/5

      
        [
          {
            "quote": "We’re just friends.",
            "author": "Robin Buckley"
          },
          {
            "quote": "Our children don’t live here anymore. You didn’t know that?",
            "author": "Ted Wheeler"
          },
          {
            "quote": "I felt this evil like it was looking at me.",
            "author": "Will Byers"
          },
          {
            "quote": "The demogorgon – it got me. See you tomorrow.",
            "author": "Will Byers"
          },
          {
            "quote": "This is finger lickin’ good.",
            "author": "Steve Harrington"
          }
        ]
         
    

Contributing

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

Authors

License