projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cbf968
)
Added method for direct_messages/show
author
Harry Marr
<harry.marr@gmail.com>
Thu, 19 May 2011 09:37:12 +0000
(10:37 +0100)
committer
Harry Marr
<harry.marr@gmail.com>
Thu, 19 May 2011 09:37:12 +0000
(10:37 +0100)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index 266878702e8e3caa39e5a766922f410342c92434..3ca294ffc1bdf22c0b8920dc82e7ee673117fdfb 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-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',