Skip to content

Instantly share code, notes, and snippets.

@AgoristRadio
Created February 19, 2012 02:22
Show Gist options
  • Save AgoristRadio/1861665 to your computer and use it in GitHub Desktop.
Save AgoristRadio/1861665 to your computer and use it in GitHub Desktop.
namecoin feeds config
<?php
// Namecoin Feeds
// setup array...
// https://gist.github.com/1086120
$i = 0;
$feeds = array();
$i++
$feed[$i]['name'] = 'Bitparking Exchange: Ticker';
$feed[$i]['url'] = 'http://exchange.bitparking.com:8080/api/ticker';
$feed[$i]['type'] = 'json';
$feed[$i]['format'] = array('ticker'=>array('high','low','vol','last','average'));
$feed[$i]['notes'] = 'Ticker 1 minute cached';
$i++
$feed[$i]['name'] = 'Bitparking Exchange: Order book';
$feed[$i]['url'] = 'http://exchange.bitparking.com:8080/api/o';
$feed[$i]['type'] = 'json';
$feed[$i]['format'] = array('asks'=>array(),'bids'=>array());
$feed[$i]['notes'] = 'Order book 1 minute cached';
$i++
$feed[$i]['name'] = 'Bitparking Exchange: Last 10 trades';
$feed[$i]['url'] = 'http://exchange.bitparking.com:8080/api/t2';
$feed[$i]['type'] = 'json';
$feed[$i]['format'] = array(array('date','type','price','amount','id'));
$feed[$i]['notes'] = 'Last 10 trades 10 seconds cached';
$i++
$feed[$i]['name'] = 'Bitparking Exchange: Last 12 hours of trades';
$feed[$i]['url'] = 'http://exchange.bitparking.com:8080/api/t';
$feed[$i]['type'] = 'json';
$feed[$i]['format'] = array(array('date','type','price','amount','id'));
$feed[$i]['notes'] = 'Last 12 hours of trades 60 minutes cached';
$i++
$feed[$i]['name'] = 'Bitparking.com Pool Stats';
$feed[$i]['url'] = 'http://bitparking.com/stats';
$feed[$i]['type'] = 'json';
$feed[$i]['format'] = array('rate','blocks_found','current_shares');
$feed[$i]['notes'] = '';
$i++
$feed[$i]['name'] = 'Masterpool.eu Pool Stats';
$feed[$i]['url'] = 'https://masterpool.eu/api';
$feed[$i]['type'] = 'json';
$feed[$i]['format'] = array('workers','hashrate','shares','stales','roundduration','updated');
$feed[$i]['notes'] = '';
$i++
$feed[$i]['name'] = 'Namebit.org Pool Stats';
$feed[$i]['url'] = 'http://namebit.org/live_data.json';
$feed[$i]['type'] = 'json';
$feed[$i]['format'] = array('hashrate','blocks_found','blocks_total','difficutly','current_share_count','current_user_count','hashes_per_user');
$feed[$i]['notes'] = '';
$i++
$feed[$i]['name'] = 'Namecoinpool.com Stats';
$feed[$i]['url'] = '';
$feed[$i]['type'] = 'json';
$feed[$i]['format'] = array();
$feed[$i]['notes'] = '?';
$i++
$feed[$i]['name'] = 'Namecoin.us: Current Block Number';
$feed[$i]['url'] = 'http://www.namecoin.us/data/blocks.txt';
$feed[$i]['type'] = 'raw';
$feed[$i]['format'] = 'int';
$feed[$i]['notes'] = '';
$i++
$feed[$i]['name'] = 'Namecoin.us: Current Difficulty';
$feed[$i]['url'] = 'http://www.namecoin.us/data/difficulty.txt';
$feed[$i]['type'] = 'raw';
$feed[$i]['format'] = 'float';
$feed[$i]['notes'] = '';
$i++
$feed[$i]['name'] = '#bitcoin-otc NMC Order Book';
$feed[$i]['url'] = 'http://bitcoin-otc.com/vieworderbook.php?eitherthing=NMC';
$feed[$i]['type'] = 'raw';
$feed[$i]['format'] = 'html';
$feed[$i]['notes'] = '';
// END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment