August 2017
Intermediate to advanced
468 pages
12h 5m
English
The following section relays the Cognitive Services APIs documentation that can be found at the following link: https://docs.microsoft.com/en-us/azure/cognitive-services/cognitive-services-text-analytics-quick-start#task-2---detect-sentiment-key-phrases-and-languages
Before diving into the function implementation, let's describe the expected input and output of the Microsoft text sentiment analytics API. To submit a call to the API, we need to submit an HTTP POST to the following endpoint:
https://westus.api.cognitive.microsoft.com/text/analytics/v2.0/sentiment
Note that the endpoint is not account dependent.
To authenticate against the API, we need the following headers. The API key is the key we acquired from API ...