vishal-kumar-paswan / Get-Quotes-API

Get quotes API using web scraping

Home Page:https://get-quotes-through-cheerio.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get Quotes through web scraping

The application fetches quotes from https://quotes.toscrape.com/ via web scrapping and returns the data as a JSON response.

Response body

[
    {
        "quote": "“The world as we have created it is a process of our thinking. It cannot be changed without changing our thinking.”",
        "author": "Albert Einstein"
    },
    {
        "quote": "“It is our choices, Harry, that show what we truly are, far more than our abilities.”",
        "author": "J.K. Rowling"
    },
    {
        "quote": "“There are only two ways to live your life. One is as though nothing is a miracle. The other is as though everything is a miracle.”",
        "author": "Albert Einstein"
    },
    {
        "quote": "“The person, be it gentleman or lady, who has not pleasure in a good novel, must be intolerably stupid.”",
        "author": "Jane Austen"
    },
    {
        "quote": "“Imperfection is beauty, madness is genius and it's better to be absolutely ridiculous than absolutely boring.”",
        "author": "Marilyn Monroe"
    },
    {
        "quote": "“Try not to become a man of success. Rather become a man of value.”",
        "author": "Albert Einstein"
    },
    {
        "quote": "“It is better to be hated for what you are than to be loved for what you are not.”",
        "author": "André Gide"
    },
    {
        "quote": "“I have not failed. I've just found 10,000 ways that won't work.”",
        "author": "Thomas A. Edison"
    },
    {
        "quote": "“A woman is like a tea bag; you never know how strong it is until it's in hot water.”",
        "author": "Eleanor Roosevelt"
    },
    {
        "quote": "“A day without sunshine is like, you know, night.”",
        "author": "Steve Martin"
    }
]

About

Get quotes API using web scraping

https://get-quotes-through-cheerio.vercel.app/


Languages

Language:JavaScript 100.0%