A simple Node.js client for the TheySay AffectR API
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENCE
README.md
affectr.js
affectr_rest_client.js
texts.js

README.md

affectr-nodejs

A simple Node.js client for TheySay AffectR API.

Dependencies

The client has been tested on npm 1.1.62 and node v0.8.11. The following packages are used:

npm install async
npm install underscore

Running Examples

First update your TheySay AffectR API credentials in the affectr_rest_client.js file:

var usr = '';
var pwd = '';

Then run the examples with

node affectr_rest_client.js

The API client submits the sample texts from the text.js file to TheySay AffectR API asynchronously and displays the results in the console.

Licence

Apache 2 Licence. Copyright 2013 TheySay Ltd.

For further details, see the LICENCE file.