So I was experimenting with Twitter last night and started to use their RESTful services from the command line.
Why you may ask? Well sometimes I just want to tweet something quickly and I don't want to bother with opening a client or web page. So I through together this simple bash script.
tweet()
{
curl -u <username>:<password> -d status="$1" http://twitter.com/statuses/update.xml
}
Simply add this to your .bash_profile and you can tweet from the command line all day.
tweet "Tweeting from the command line is awesome!"
I love RESTful services despite popular belief. :-)