FREE Sentiment Analysis ✌🏼 REST API for the community 🙏🏻
Sharad Raj (He/Him)
Posted on April 30, 2020
I've created a sentiment analysis REST API for the community ... Have a look
Link : https://sentim-api.herokuapp.com
How to use
Just send a POST request to
https://sentim-api.herokuapp.com/api/v1/
with headers of
Accept: "application/json",
"Content-Type": "application/json"
and body
{
"text": "Your text here"
}
And you'll get response like this:
{
"result": {
"polarity": 0.11,
"type": "positive"
},
"sentences": [
{
"sentence": "We have been through much darker times than these, and somehow each generation of Americans carried us through to the other side,\" he said.",
"sentiment": {
"polarity": 0.04,
"type": "positive"
}
},
{
"sentence": "\"Not by sitting around and waiting for something to happen, not by leaving it to others to do something, but by leading that movement for change themselves.",
"sentiment": {
"polarity": 0,
"type": "neutral"
}
},
{
"sentence": "And if you do that, if you get involved, and you get engaged, and you knock on some doors, and you talk with your friends, and you argue with your family members, and you change some minds, and you vote, something powerful happens.",
"sentiment": {
"polarity": 0.3,
"type": "positive"
}
}
]
}
Enjoy 😎😎😎😎
💖 💪 🙅 🚩
Sharad Raj (He/Him)
Posted on April 30, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.