summaryrefslogtreecommitdiffstats
path: root/btcguild
diff options
context:
space:
mode:
authortv <tv@also>2011-08-06 03:09:45 +0200
committertv <tv@also>2011-08-06 03:09:45 +0200
commitd0ba20271209f7bb80cec787f9d22b22844ff696 (patch)
tree5bb062a8bb8cadac19890d4e51a55706d1cea088 /btcguild
parentd6543eaf0858cc685bc5776fb018e8a04b5ab4d8 (diff)
${btc-stuff} -> btc/
Diffstat (limited to 'btcguild')
-rw-r--r--btcguild/index.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/btcguild/index.js b/btcguild/index.js
deleted file mode 100644
index 1f33db06..00000000
--- a/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);
-});