|
|
|
|
|
by notaboutdave
3139 days ago
|
|
This is pretty great. It looks like it automatically writes to the next logical empty cell. curl https://www.bitstamp.net/api/v2/ticker/btcusd \
| grep 'last": *"\d*\.\d*' -o | grep '\d*\.\d*' -o \
| tosheets -c A1 --spreadsheet=foo
^ That will append the last BTC price to column A of sheet 'foo' |
|
That's basically a mini JSON parser in 48 characters.