summaryrefslogtreecommitdiffstats
path: root/btc/btcguild
diff options
context:
space:
mode:
authortv <tv@xso>2011-08-24 16:45:00 +0200
committertv <tv@xso>2011-08-24 16:45:00 +0200
commitc37ab9c4accc58919e87ad4eee1ef19f49eed873 (patch)
treee640c348718e2a72770ce47d03e4549b6fbce80f /btc/btcguild
parente7a148349ef3e1e4e1607fd29148bec51dc4ed82 (diff)
{btc -> gold} SC & co., we're ready
Diffstat (limited to 'btc/btcguild')
-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);
-});