There is a geek challenge called apibunny to play with rest apis.
my 1-liner (140 chars) script which fits in a twitter message:
c(){ curl -O http://apibunny.com/cells/$1;for l in $(sed -n "s/.*\([[:alnum:]]\{16\}\).*/\1/p" $1); do wc $l || c $l;done; } && c taTKQ3Kn4KNnmwVI