| Provider (requested_service) | Atoms |
|---|---|
| Azure | 500 |
| 500 | |
| ApyHub | 2000 |
https://api.apyhub.com/ai/text/sentiment/analysis| Provider (requested_service) | Atoms |
|---|---|
| Azure | 500 |
| 500 | |
| ApyHub | 2000 |
POSTapplication/json| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| text | String | Yes | Provide the textual content for which you want to perform sentiment analysis. - The max content size is 125,000 characters. |
| language | String | Yes (if azure is selected in requested_service) | the language supported by azure chceck list of supported language link - https://learn.microsoft.com/en-gb/azure/ai-services/language-service/sentiment-opinion-mining/language-support. |
| encoding | String | No (use if google is selected in requested_service) | Provide the textual content encoding format it can be UTF8, UTF16, UTF32 default to UTF8. |
| requested_service | String | Yes | Enter the name of service provider. Supported providers are azure, google, apyhub. Defaults to apyhub. |
| azure.key | String | Yes (if azure is selected in requested_service) | Input service key provided by azure. |
| azure.endpoint | String | Yes (if azure is selected in requested_service) | Enter the endpoint provided by azure. |
| google.key | String | Yes (if google is selected in requested_service) | Input service key provided by google. |
| Status Code | Description |
|---|---|
| 200 | The request was successful. |
| 400 | Invalid input - the file is corrupt or the supported inputs are not provided. |
| 401 | Required authentication information is either missing or not valid for the resource. |
| 500 | If any unexpected error occurs while processing the request. |
tokens or basic authentication mechanisms.
You can generate and view your existing credentials from your workspace settings (on the left side of the navbar) and go to “API Keys".apy-token as the header parameter to pass the token.Authorization header to send the basic authentication credentials.