Permalink
Commits on Mar 10, 2010
  1. Fix error message parsing.

    BonsaiDen authored and joshthecoder committed Mar 10, 2010
  2. Implement xAuth support.

    BonsaiDen authored and joshthecoder committed Mar 10, 2010
    xAuth allows you to exchange an username and password
    pair for an OAuth access token.
    See http://apiwiki.twitter.com/Twitter-REST-API-Method:-oauth-access_token-for-xAuth
    for more details.
Commits on Mar 7, 2010
Commits on Feb 26, 2010
  1. TweepError now includes the HTTPResponse object of the failed call.

    joshthecoder committed Feb 26, 2010
    Example:
    	try:
    		api.get_status(0)
    	except TweepError, e:
    		e.response // <-- HTTPResponse object
Commits on Feb 12, 2010
  1. Fix an error due to a missing import in binder.py

    joshthecoder committed Feb 12, 2010
    Thanks Doza for reporting!
Commits on Feb 11, 2010
Commits on Jan 31, 2010
  1. Fix a bug that would result in a 301 redirect with python 2.5 or olde…

    joshthecoder committed Jan 31, 2010
    …r using secure HTTPS.
    
    These versions of python include the port number in the host header.
    Twitter will send us a 301 when a host is provided in this manner.
    To avoid this redirect this patch manually sets the host w/o the port number.
    
    Fixes issue #12
Commits on Jan 30, 2010
  1. Update unit tests.

    joshthecoder committed Jan 30, 2010
  2. Added JSONParser which ModelParser now extends.

    joshthecoder committed Jan 30, 2010
    This allows developers to access the raw JSON by using the JSONParser.
    
    Example:
        api = API(parser=JSONParser())
        json = api.user_timeline('twitter')
    
    Also fixed the Cursor objects so they should be working again.
Commits on Jan 29, 2010
  1. Refactored the way tweepy does parsing to make it more customizable b…

    joshthecoder committed Jan 29, 2010
    …y developers.
    
    All parsing of the response payload is now handled by a Parser class defined in
    tweepy/parsers.py
    The default parser used is ModelParser which parses a JSON payload into a model instance.
    
    Developers may define and use their own custom parsers by extending the Parser class.
    To use the custom parser:
    
        api = API(parser=MyParser())
  2. API.search() now includes search meta data as attributes of the Resul…

    joshthecoder committed Jan 29, 2010
    …tSet object returned.
    
    Example:
        results = api.search('python')
        print 'Search took %s seconds' % results.completed_in
    
    This fixes issue #10 (http://github.com/joshthecoder/tweepy/issues/#issue/10)
    
    Meta data available as of today:
        max_id, since_id, refresh_url, next_page, results_per_page,
        page, completed_in, query
Commits on Jan 28, 2010
  1. Allow additional karg parameters that are not listed in allowed_param.

    joshthecoder committed Jan 28, 2010
    This allows Tweepy to support future parameters twitter may add
    without having to patch the library.
Commits on Jan 27, 2010
  1. tweepy/models: add pagination support to List model

    bwesterb committed Jan 27, 2010
    Signed-off-by: Bas Westerbaan <bas@westerbaan.name>
Commits on Jan 19, 2010
  1. Merge remote branch 'josh/master'

    bwesterb committed Jan 19, 2010
    Conflicts:
    	tweepy/models.py
    
    Signed-off-by: Bas Westerbaan <bas@fsfe.org>
  2. Revert "lists: put lists{,_subscriptions,_memberships} on User"

    bwesterb committed Jan 19, 2010
    This reverts commit f26e000.
    
    Conflicts:
    
    	tweepy/models.py
    
    Signed-off-by: Bas Westerbaan <bas@fsfe.org>
  3. Add pagination support to methods on User.

    bwesterb committed Jan 19, 2010
    Signed-off-by: Bas Westerbaan <bas@westerbaan.name>
Commits on Jan 17, 2010
  1. Fixed typo on followers

    arthur-debert authored and joshthecoder committed Jan 17, 2010
Commits on Jan 12, 2010
Commits on Jan 5, 2010
Commits on Jan 4, 2010
  1. Added ModelFactory. This replaces the 'models' dict in the tweepy.mod…

    joshthecoder committed Jan 4, 2010
    …els module.
    
    This will allow for more flexible plug 'n play for developers that need
    to extend Tweepy's models. To use custom models, they will extend the ModelFactory
    and then pass this new factory into the API constructor.
    
    Example:
        class MyStatus(Status):
            """A extended Status model"""
    
        class MyModelFactory(ModelFactory):
            status = MyStatus
    
        api = API(model_factory=MyModelFactory)
Commits on Dec 31, 2009
  1. Fallback to using 'twitter.com' for OAuth.

    joshthecoder committed Dec 31, 2009
    This fixes issue #8 for the time being until Twitter resolves the
    issue on their end. See issue #1207 on the twitter API tracker.
    
    Note: API calls still use 'api.twitter.com', just the initial OAuth
    setup uses 'twitter.com'.