Twitter already provides an API but it is currently very limited. It will let you fairly easily change your status, but won't let you send a direct message. Comes in cURL. cURL is a very versatile command line utility which is designed to script web pages interactions. As a little demo, I'll show you how to use it to easily overcome the shortcomings of Twitter's API.
Coding Library:
None
More Twitter Resources:

