summaryrefslogtreecommitdiffstats
path: root/btc/btcguild/index.js
diff options
context:
space:
mode:
authorroot <root@krebs>2011-08-25 18:29:59 +0200
committerroot <root@krebs>2011-08-25 18:29:59 +0200
commit868c9212e1797e7cad18513670beb13c08ae0e1c (patch)
treec6b6a2df82e76fc3024fde36a04682fdded05332 /btc/btcguild/index.js
parent561bf3b9b71cda97c1a726a5e8d6dc7801714ae1 (diff)
parente7f09d7285672763b836f20881cb2248d85ed606 (diff)
Merge branch 'master' of github.com:/krebscode/painload
Conflicts: evan/satz-liste
Diffstat (limited to 'btc/btcguild/index.js')
-rw-r--r--btc/btcguild/index.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/btc/btcguild/index.js b/btc/btcguild/index.js
deleted file mode 100644
index 1f33db06..00000000
--- a/btc/btcguild/index.js
+++ /dev/null
@@ -1,20 +0,0 @@
-api_key = process.env.api_key;
-
-var options = {
- host: 'www.btcguild.com',
- port: 80,
- path: '/api.php?api_key=' + api_key
-};
-
-http = require('http');
-http.get(options, function(res) {
- var data = '';
- res.on('data', function (chunk) {
- data += chunk;
- });
- res.on('end', function () {
- console.log(JSON.parse(data));
- });
-}).on('error', function(e) {
- console.error('Error: ' + e.message);
-});