http://api.sentimentics.com/keywordInHTMLSentiment
A private API key is required. If you do not have an API key, get started here.
The HTML content in which specific keywords are present that need to be analysed. The HTML content needs to be URI encoded.
The keyword or keyphrase that need to be analysed. The keyword / keyphrase needs to be URI encoded.
If desired, another keyword or keyphrase that need to be analysed. The keyword / keyphrase needs to be URI encoded.
If desired, another keyword or keyphrase that need to be analysed. The keyword / keyphrase needs to be URI encoded.
If desired, another keyword or keyphrase that need to be analysed. The keyword / keyphrase needs to be URI encoded.
At this moment two languages are supported. This parameter is not required because of default value.
Language | Remarks |
---|---|
english | default value |
dutch |
At this moment one domain is supported. This parameter is not required because of default value.
Domain type | Remarks |
---|---|
general | default value |
There are three types of output parameters supported. This parameter is not required because of default value.
Output type | Remarks |
---|---|
xml | default value |
json |
The following response variables are given back after API call.
Response variables | Possibilities | Remarks |
---|---|---|
success | true false |
|
keyword1SentimentValue, keyword2SentimentValue, keyword3SentimentValue, keyword4SentimentValue |
value ranging from -1 to +1 | -1 most negative possibility 0 is neutral +1 most positive possibility value returns max 2 decimals |
keyword1SentimentLabel, keyword2SentimentLabel, keyword3SentimentLabel, keyword4SentimentLabel |
extremely negativevery negativemildly negative neutral mildly positive very positive extremely positive |
|
keyword1ConflictionValue, keyword2ConflictionValue, keyword3ConflictionValue, keyword4ConflictionValue, |
value ranging from 0 to 1 | |
keyword1ConflictionLabel, keyword2ConflictionLabel, keyword3ConflictionLabel, keyword4ConflictionLabel, |
extremely conflictingvery conflictingmildly conflicting no conflicion mildly conflicting very conflicting extremely conflicting |
|
errorMessage | if success == false, error information is generated. |
A summation of the parameter instructions above.
Type of parameter | Possible values | Default value | Remarks |
---|---|---|---|
apikey | <APIKEY> | required parameter | |
HTMLValue | <HTMLVALUE> | required parameter | |
keyword1Value | <KEYWORD1VALUE> | required parameter | |
keyword2Value | <KEYWORD2VALUE> | ||
keyword3Value | <KEYWORD3VALUE> | ||
keyword4Value | <KEYWORD4VALUE> | ||
languageValue | english, dutch | english | |
domainValue | general | general | |
outputType | xml, json | xml |
http://api.sentimentics.com/keywordInHTMLSentiment?apikey=<APIKEY>&HTMLValue=<HTMLVALUE>&keyword1Value=<KEYWORD1VALUE>&keyword2Value=<KEYWORD2VALUE>&keyword3Value=<KEYWORD3VALUE>&keyword4Value=<KEYWORD4VALUE>&languageValue=<LANGUAGEVALUE>&domainValue=<DOMAINVALUE>&outputType=<OUTPUTTYPE>