> although it uses http, twitter has got an api that you can use outside > a browser. it's much the same with several others, including aws. > there are reasonably clear descriptions of the messages, and you can construct > and send them however you like, in which ever language you like.
The 'stock' command (undocumented?) is a good example of this. (It's a 14-line shell script): term% stock goog "GOOG","Google Inc.",427.69,"7/22/2009",0.00,0 I have a similar little script to do currency conversions: term% currency usd eur 1 US Dollar (USD) = 0.70403 Euro (EUR) term% currency -d 10/30/2000 usd eur 1 US Dollar (USD) = 1.19046 Euro (EUR) which is just a bit of syntactic sugar wrapped around this: hget 'http://www.oanda.com/convert/classic?user=printable&exch='$xout'&expr='$xin'&value=1&date_fmt=us&date='$date | grep '^[ ]*1 '