Skip to content

Commit

Permalink
Merge pull request #623 from Queatz/patch-1
Browse files Browse the repository at this point in the history
Allow include_email param
  • Loading branch information
joshthecoder committed Jul 3, 2015
2 parents 78d2883 + ee8dcb6 commit e4a08b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tweepy/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,15 +618,15 @@ def set_settings(self):

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(
api=self,
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:
Expand Down

0 comments on commit e4a08b1

Please sign in to comment.