if you dont pass in header you asked for explicitly all are returned. #149

Merged
myusuf3 merged 2 commits from master into master 2013-02-15 08:16:30 -08:00
Showing only changes of commit b0f5af37d5 - Show all commits

View file

@ -82,7 +82,7 @@ class TwythonRateLimitError(TwythonError):
class Twython(object): class Twython(object):
def __init__(self, app_key=None, app_secret=None, oauth_token=None, oauth_token_secret=None, \ def __init__(self, app_key=None, app_secret=None, oauth_token=None, oauth_token_secret=None, \
headers=None, callback_url=None, twitter_token=None, twitter_secret=None, proxies=None, version='1'): headers=None, callback_url=None, twitter_token=None, twitter_secret=None, proxies=None, version='1.1'):
"""Instantiates an instance of Twython. Takes optional parameters for authentication and such (see below). """Instantiates an instance of Twython. Takes optional parameters for authentication and such (see below).
:param app_key: (optional) Your applications key :param app_key: (optional) Your applications key