github-readme-quotes
github-readme-quotes copied to clipboard
Quotes based on Specific Personality
Is your feature request related to a problem? Please describe. Create Quotes taken from your favourite personality
Describe the solution you'd like
- You can use existing API that provides this functionality
Describe alternatives you've considered Create a folder, storing JSON file storing all personalities quotes in natural order (Aplhabetical order)
would like to take up this issue. Implementation plan: -implement a personality search box -use Axios and Cheerio to crawl Goodreads quote search -pick a random quote from the first page and display it. -If no quote is found, display the warning text "no quote found " under the personality search bar.
If this implementation plan sounds good please let me know.
heroku service to get quotes is ready
axios
.post('https://qoutescraper.herokuapp.com/quote/author', {
author: "Mahatma Gandhi"
})
.then(quote=> {
console.log(quote)
})
//output
//"Prayer is not asking. It is a longing of the soul. It is daily admission of one's weakness. It is better in prayer to
//have a heart without words than words without a heart."
//—
//Mahatma Gandhi'