|
Project Information
Members
|
Tweet Saucea saucy way to get your tweets! A python wrapper for the Twitter API (http://apiwiki.twitter.com/). Install$ svn checkout http://tweet-sauce.googlecode.com/svn/trunk/ tweet-sauce $ cd tweet-sauce $ sudo python setup.py install Usagefrom sauce import Twitter api = Twitter(USERNAME, PASSWORD) Get user timeline# get authenticated users timeline timeline = api.get_user_timeline() # get a different users timeline timeline = api.get_user_timeline(USER) get_user_timeline() returns a list of Tweets. Get your @repliesreplies = api.get_replies() # throwing in some keyword args for more options timeline = api.get_replies(since_id=ID) get_replies() returns a list of Tweets that were directed at you. |