AYLIEN's officially supported node.js client library for accessing Text API
JavaScript
Latest commit 513821a Apr 27, 2016 @amir amir Update version
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.npmignore first commit Dec 2, 2014
LICENSE
README.md
jsdoc-conf.json
package.json
textapi.js

README.md

About

This is the node.js client library for AYLIEN's APIs. If you haven't already done so, you will need to sign up.

Installation

To install, simply use npm:

$ npm install aylien_textapi

See the Developers Guide for additional documentation.

Example

var AYLIENTextAPI = require('aylien_textapi');
var textapi = new AYLIENTextAPI({
  application_id: "YourApplicationId",
  application_key: "YourApplicationKey"
});
textapi.sentiment({'text': 'John is a very good football player!'}, function(error, response) {
  if (error === null) {
    console.log(response);
  }
});