1.28.2 • Published 8 years ago
glot.io v1.28.2
A node wrapper for the glot.io api.
Example usage
var glot = require('glot.io');
glot.token = ""
glot.GetSnippets(id, function(response) {
//Do stuff here
});
glot.runCode(name, content, url,callback, function(response) {
//Do stuff here
});
Example responses
Get Snippet
{
"id": "e2tx9nh4fh",
"url": "https://snippets.glot.io/snippets/e2tx9nh4fh",
"created": "2015-04-23T22:03:11Z",
"modified": "2015-04-23T22:03:11Z",
"files_hash": "9bdd2b79fafbf81313a79b1df1be5c2671422307",
"language": "haskell",
"title": "Hello world",
"public": true,
"owner": "anonymous",
"files": [
{
"name": "main.hs",
"content": "main = putStrLn \"Hello World!\""
}
]
}
Execute code
{
"stdout": "Fizz Buzz\n",
"stderr": "",
"error": ""
}
Features
- Save Snippets to cloud
- Execute code and get output and debug information
1.28.2
8 years ago
1.28.1
8 years ago
1.28.0
8 years ago
1.27.0
8 years ago
1.26.0
8 years ago
1.24.0
8 years ago
1.23.0
8 years ago
1.22.0
8 years ago
1.21.0
8 years ago
1.20.0
8 years ago
1.19.0
8 years ago
1.18.0
8 years ago
1.17.0
8 years ago
1.16.0
8 years ago
1.15.0
8 years ago
1.14.0
8 years ago
1.13.0
8 years ago
1.12.0
8 years ago
1.11.0
8 years ago
1.10.0
8 years ago
1.9.0
8 years ago
1.8.0
8 years ago
1.7.0
8 years ago
1.6.0
8 years ago
1.5.0
8 years ago
1.4.0
8 years ago
1.3.0
8 years ago
1.2.0
8 years ago
1.1.0
8 years ago
1.0.0
8 years ago