ic information.</p>
<p>Use the <a href="http://www.alchemyapi.com/products/alchemylanguage/sentiment-analysis">Sentiment Analysis</a> endpoint to identify positive/negative sentiment within a sample text document.</p>
<pre class="prettyprint source lang-javascript"><code>var watson = require('watson-developer-cloud');

var alchemy_language = watson.alchemy_language({
  api_key: '&lt;api_key>'
});

var params = {
  text: 'IBM Watson won the Jeopardy television show hosted by Alex Trebek'
};

alchemy_language