Skip to content

anaimi/algorithmia_js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

algorithmia.js

A nodejs library for calling algorithms on Algorithmia.com

Usage

Add algorithmia to your package.json

npm install --save algorithmia

Call any algorithm on the Algorithmia platform:

var algorithmia = require("algorithmia");

var client = algorithmia(process.env.ALGORITHMIA_API_KEY);
var input = "5";

client.algo("docs/JavaAddOne").pipe(input).then(function(output) {
	if (output.error)
		console.log(output.error);

	console.log(output.result);
});

Build

Currently tested with nodejs v0.10.36

# install dev dependencies
npm install

# compile coffeescript
gulp

About

Algorithmia node.js client library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%