Using the Twitter API with Python: "Twitter provides the Twitter API which can be used by developers to perform all the functions provided by a Twitter client such as update the twitter status, check the home timeline or the public timeline, retweet, update your profile etc.
To access all the twitter functionality, there are already user libraries created in most of the programming languages. You can find these libraries here.
Twitter API consists of three parts: two REST API and a Streaming API. The REST API are used to perform the user functionality like update status, view timeline, etc. The Streaming API are used for search and trend data. This tutorial is an attempt to explain in a simple way how we can use the Twitter REST API. I will be showing three examples for this. All of the other Twitter REST API can be used in a similar way."