Commit e4a08b10 authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files

Merge pull request #623 from Queatz/patch-1

Allow include_email param
parents 78d2883a ee8dcb6f
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment