POST a simple JSON request with an english sentence and get back a rating which states whether this is a positive, neutral or negative sentence.
Example request:
{
"sentence": "Donating to charity is good"
}
Example response:
{
"compound": 0.44043357076016854,
"negative": 0,
"neutral": 0.5084745762711864,
"positive": 0.4915254237288135
}
Use compound
as an overall rating. -1 being the most negative and +1 being the most positive.