openamplify
v0.0.1 open amplify openamplify openamplify api openamplify rest openamplify.com openamplify client
openamplify - json client for OpenAmplify's REST API
current api documentation: http://www.openamplify.com/node/46
install
npm install openamplify
usage
var amplify = require('openamplify').createClient({ ApiKey: '...' });
// analyze a url
amplify.url('http://news.ycombinator.com', function (error, reply, status) {
// reply is a json object containing OpenAmplify's response
console.log(reply);
});
// analyze some text
var text = 'the weather is freezing';
var options = { SearchTerms: 'weather' };
amplify.text(text, options, function (err, reply) {
console.log(reply);
});
npm i openamplify
Source Code
github.com/matomesc/openampl...Metadata
- Unknown
- *
- Mihai Tomescu
- released 1/26/2012