GETAnalyze Sentiment
https://api-sentiment.dataandapis.com/v1/sentiment
Parámetros de consulta
| Parámetro | Ejemplo | |
|---|---|---|
| text | I love this product | Obligatorio |
Petición de ejemplo
curl "https://api-sentiment.dataandapis.com/v1/sentiment?text=I%20love%20this%20product" \
-H "X-Api-Key: YOUR_API_KEY"{
"text": "I love this product",
"sentiment": "positive",
"confidence": 0.9998,
"scores": [
{
"label": "POSITIVE",
"score": 0.9998
},
{
"label": "NEGATIVE",
"score": 0.0002
}
]
}



