577 entries in 0.719s
gesell: curl -s
https://data.mtgox.com/api/2/BTCUSD/money/depth/full | python -c 'import sys,
json;data=
json.loads(sys.stdin.read()); print data["data"]["bids"]' | awk -v RS='{' '{print}' | tr -d '[]{}' | egrep "price_int': u'[1-9][0-9][0-9]{6}'," | egrep "amount': [1-9][0-9]{3}\." | awk '{print $2 $5 $6 $9 $10}' | sed "s/u'/ /g" | sed "s/[',]//g" | sort -n | cut -b 2-11 -b 18- && date +%s
jurov: in the Dividend stat
json part
mircea_popescu: mpex has no api. it's just some public
json/
jsonp calls
jurov: in stat
json output
Diablo-D3: blockchain.info doesn't have a
json api does it
smickles: ofc, the full one delivered via pastbin is still the
json smickles: oh? was FabianB using it for the
json?
jurov: Parse error: syntax error, unexpected ')' in /home/polimedi/public_html/bitcoin/mpex-mktdepth-
jsonp.php on line 37
jurov: Unterminated comment starting line 6 in <b>/home/polimedi/public_html/bitcoin/mpex-mktdepth-
jsonp.php</b> on line <b>6</b>
mircea_popescu: the
jsons are not sorted, could that give the impression the book is different ?
jurov: not a proper
json, i daresay
smickles: are you trolling me via my stat
json?
gesell: mircea_popescu: well i would be happy to make some spreadsheets to pull the order books but this would require some sort of mpex api (
json or xml or whatever) for that and again, leave you open to ddos. but if you pushed the data onto your own public spreadsheet you would avoid any ddos on your public facing graphs and orderbooks
smickles: mircea_popescu and myself can add to the list with $proxies <pastebin paste key to a signed
json array of proxies>
jurov: and i left
jsonp part there
benkay: bigotry aside, i'd actually like the full
json in this irc channel
benkay: y u no give me plain
json?
smickles: both mpex-mktdepth.php / mpex-mktdepth-
jsonp.php have that JurovP bit at the beginning
smickles: er, "JurovP(" and ends with a ")", that's not
json :P
bgupta:
json is human readable.. but… I need to whip out cli shit to deal.. one moment.. (I'm slow)
mircea_popescu: anyway : in case our proxies get taken down, you can use mpexbot to check the
json for vwap prices and market depth.
mircea_popescu: BitHub not really an api but still, i don't think so, it's all
json after all.
mircea_popescu: Error getting
json fileThe current exchange rate we accept for Bitcoin:
smickles: you can send a STAT
JSON or whatever you want through that proxy
mircea_popescu: the 30 day volume comes from the
json there for instance
mircea_popescu: thestringpuller no, inasmuch as it's the stat
json of that account.
thestringpuller: mircea_popescu: is there away to get the STAT
JSON without mpex account?
mircea_popescu: go into the vwap
json, calculate the implicit breakeven of each option line
Namworld: Is there other stuff in
JSON format other than vwap?
jurov: you can't use stat
json output?
jurov: mircea_popescu, was i supposed to get data in "Exercises" stat
json output when I held C200T ?
topace: hey mircea_popescu: if someone PUSH's shares to my account, would i receive any sort of notification? in STATS? or STATS
JSON?
mjr_: anyway, anyone know how to pull a value from a
json object in google docs?
jurov: no you have to extract it from
json mircea_popescu: you can get either the book or the prices
json, its in the faq
mjr__: i guess you can get your own stuff with a stat
json mjr_: like depth of book is offered as
json mjr_: i mean accepting one feed from xml and one feed from
json mjr_: hate mixing
json and xml...
mjr_: it's all just
json in mongo
mjr_: so i am just grabbing the
jsonmarket depth
jurov: well. so after it will be able to serve files, one just throw there some javascript that can do
jsonrpc calls
jurov: it's
jsonrpc "driver" for mpex
mjr_: would be nice i suppose, but parsing sql and parsing
json is about the same effort
mjr_: then just keep track of your orders using stat
json i guess
mjr_: but you have to send stat
json command signed by pgp
mjr_: reporting being the
json right?
mjr_: is the
json feed the only way?
mod6: one thing im gonna work on today is wrapping up
json stat stuff. but then i gotta get that encryption stuff wrapped up.
jurov: it sent me valid
json but no balances/orders
jurov: you mean the "TradeHistory" part of stat
json?
Namworld: Sadly, MPEx has no
JSON api I think
Namworld: I'm having fun with google spreadsheets and
JSON gesell: yeah this is in yaml
JSON processing, and we know btc looooves them some
JSON mircea_popescu: <smickles> STAT
JSON <Bugpowder> fuuuuck <smickles> rtfm << mwahaha.
smickles: are you not using a
json parser for that?
jurov: then you'll just
jsonrpc call it and gpg key will stay safer
jurov: and it isn't necessarily good for coinbr..next time some lunatic decides to call stat
json 10x in second and mircea decides to add a fee to it
jurov: mircea, you did not restart twitter/assapi yet? and rss/
json output scriptslike mktdepth.php hang
jurov: at least stat was superseded with stat
json, to give some credit
markedathome: i'm surprised that no one had implemented a
json decoder in xml for a brainfuck interpreted client running on java for a 3 page forum thread on the use of vinegar for descaling kettles.
Ukto: but anythen below the last block doesnt even give you a
json error
Ukto: mostly just
json blockchain infos
Ukto: i have reported an problem with like 3
json responses