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://lucifer-quotes.vercel.app/api/quotes

      
        [
          {
            "quote": "The Devil gets burned by fire. Could this be any more ironic?",
            "author": "Lucifer Morningstar"
          }
        ]
      
    

GET /api/quotes/{number}

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

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

      
        [
          {
            "quote": "You see, what I hate more than anything is a liar. A charlatan. Someone who doesn't believe in what they say.",
            "author": "Lucifer Morningstar"
          },
          {
            "quote": "I'm trying to say this from a constructive place. I can feel your negative vibrations from across the room, man.",
            "author": "Dan Espinoza"
          },
          {
            "quote": "My name is ASAC Schrader, and you can go f*ck yourself.",
            "author": "Chloe Decker"
          },
          {
            "quote": "Sometimes we need to lose something before we can understand its value.",
            "author": "Linda Martin"
          },
          {
            "quote": "You know, joining each other at crime scenes, bantering over dead bodies. And where does that leave you, right?",
            "author": "Ella Lopez"
          }
        ]
         
    

Contributing

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

Authors

License