github-readme-quotes icon indicating copy to clipboard operation
github-readme-quotes copied to clipboard

Quotes based on Specific Personality

Open shravan20 opened this issue 3 years ago • 2 comments

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)

shravan20 avatar Apr 28 '21 11:04 shravan20

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.

Nahdus avatar Sep 10 '21 15:09 Nahdus

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'

Nahdus avatar Sep 11 '21 14:09 Nahdus