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
33920f9f
Commit
33920f9f
authored
May 25, 2011
by
Joshua Roesslein
Browse files
Merge pull request #105 from hmarr/dms-show
Added method for direct_messages/show
parents
4cbf968f
e960d0b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
tweepy/api.py
View file @
33920f9f
...
...
@@ -212,6 +212,14 @@ class API(object):
require_auth
=
True
)
""" direct_messages/show """
get_direct_message
=
bind_api
(
path
=
'/direct_messages/show/{id}.json'
,
payload_type
=
'direct_message'
,
allowed_param
=
[
'id'
],
require_auth
=
True
)
""" direct_messages/sent """
sent_direct_messages
=
bind_api
(
path
=
'/direct_messages/sent.json'
,
...
...
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