From: Jacob Ferrero Date: Thu, 18 Jun 2015 21:30:28 +0000 (-0700) Subject: allow include_email param X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ee8dcb6f94d62f7b065e34be361e6749f93f37cd;p=tweepy.git allow include_email param See https://dev.twitter.com/rest/reference/get/account/verify_credentials --- diff --git a/tweepy/api.py b/tweepy/api.py index 783eb23..3f698f1 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -618,7 +618,7 @@ class API(object): def verify_credentials(self, **kargs): """ :reference: https://dev.twitter.com/rest/reference/get/account/verify_credentials - :allowed_param:'include_entities', 'skip_status' + :allowed_param:'include_entities', 'skip_status', 'include_email' """ try: return bind_api( @@ -626,7 +626,7 @@ class API(object): path='/account/verify_credentials.json', payload_type='user', require_auth=True, - allowed_param=['include_entities', 'skip_status'], + allowed_param=['include_entities', 'skip_status', 'include_email'], )(**kargs) except TweepError as e: if e.response and e.response.status == 401: