Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
iterator functions for twitter api
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


A start at lazy iterator functions for twitter's api, using their cursors to
page through results.

For example if you want to print out all of danbri's current followers:

    import twitterator

    twitter = twitterator.Twitter()
    for follower in twitter.statuses_followers(screen_name='danbri'):
        print ("%(name)s [%(screen_name)s]" % follower).encode('utf-8')

Or if you want to print out all dchud's friends:

    twitter = twitterator.Twitter()
    for follower in twitter.statuses_friends(screen_name='dchud'):
        print ("%(name)s [%(screen_name)s]" % follower).encode('utf-8')

I guess I'll get around to adding more of the API when I (or someone else)
needs it.

You'll need httplib2 installed for it tow work.

License: Public Domain
Contact: Ed Summers <>
Something went wrong with that request. Please try again.