https://api.engagor.com/tools/sentiment
Will try to determine the sentiment of a given string.
Param | Description | Required | Default Value |
---|---|---|---|
string |
The string you want to analyze. Pass in a JSON encoded array to analyze up to 50 messages at a time. | Yes | |
language |
The ISO 639-1 language code of the string you want to analyze. If none given, we will try and detect the language. | No |
A score integer; 0 is a neutral sentiment, higher is positive, lower is negative.
Endpoint will return indexed array of scores (or null on error) when you're passing in multiple strings.