Permalink
Browse files

Merge pull request #105 from hmarr/dms-show

Added method for direct_messages/show
  • Loading branch information...
2 parents 4cbf968 + e960d0b commit 33920f9f0d3acc2f7b7e4f02e42741f625f2a4a8 @joshthecoder joshthecoder committed May 26, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 tweepy/api.py
View
@@ -212,6 +212,14 @@ def me(self):
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',

0 comments on commit 33920f9

Please sign in to comment.