Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
tweepy
Commits
e4a08b10
Commit
e4a08b10
authored
Jul 03, 2015
by
Joshua Roesslein
Browse files
Merge pull request #623 from Queatz/patch-1
Allow include_email param
parents
78d2883a
ee8dcb6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
tweepy/api.py
View file @
e4a08b10
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment