1. Evan Long
  2. webapi


webapi /

Filename Size Date modified Message
40 B
554 B
329 B
4.7 KB

Example: webcall(url='http://twitter.com/statuses/friends_timeline.{format=json}', method='GET') def friends_timeline(): pass

#returns a a json string for this specific twitter call
friends_timeline(auth_username='bob', auth_password='password')

#Looking at the twitter documentation we see that this takes in other
#parameters like since, since_id, count, page.
#we will also get the RSS formatted response and limit it to two
friends_timeline(auth_username='bob', auth_password='password', count=2, format='rss')