From ee8dcb6f94d62f7b065e34be361e6749f93f37cd Mon Sep 17 00:00:00 2001 From: Jacob Ferrero Date: Thu, 18 Jun 2015 14:30:28 -0700 Subject: [PATCH] allow include_email param See https://dev.twitter.com/rest/reference/get/account/verify_credentials --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.25.1