algojse - JavaScript Engine for Algorithmia

JavaScript sandbox based on RihnoJS is ready for using on Algorithmia.

Algorithmia Platform License · Internet Access · Calls Other Algorithms

Run an Example

{
  "isError": false,
  "errorMessage": "Running javascript is completed successfully!",
  "errorCode": "Success",
  "results": {
    "outputFile": "data://.algo/magicanded/algojse/temp/algovelo-output938160473416757920.json",
    "outputFileUrl": "https://algorithmia.com/v1/data/.algo%2Fmagicanded%2Falgojse%2Ftemp%2Falgovelo-output938160473416757920.json"
  }
}

Install & Use

Use

curl -X POST -d '{
  "inputFile": "data://magicanded/public/algojse-sample.js",
  "variables": {
    "title": "Hello world",
    "deep": {
      "title": "Good morning"
    }
  }
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/magicanded/algojse/0.2.12