Added retweeted_by and retweeted_by_ids methods.
authorJoshua Roesslein <jroesslein@gmail.com>
Sat, 17 Apr 2010 02:41:42 +0000 (21:41 -0500)
committerJoshua Roesslein <jroesslein@gmail.com>
Sat, 17 Apr 2010 02:41:42 +0000 (21:41 -0500)
tweepy/api.py

index d6d3e701c87bf7339b40f17e76ff12ba396742d9..55d7eb591c6a9eb649330dbfaeee60d54aee32aa 100644 (file)
@@ -70,6 +70,22 @@ class API(object):
         require_auth = True
     )
 
+    """/statuses/:id/retweeted_by.format"""
+    retweeted_by = bind_api(
+        path = '/statuses/{id}/retweeted_by.json',
+        payload_type = 'status', payload_list = True,
+        allowed_param = ['id', 'count', 'page'],
+        require_auth = True
+    )
+
+    """/statuses/:id/retweeted_by/ids.format"""
+    retweeted_by_ids = bind_api(
+        path = '/statuses/{id}/retweeted_by/ids.json',
+        payload_type = 'ids',
+        allowed_param = ['id', 'count', 'page'],
+        require_auth = True
+    )
+
     """ statuses/retweeted_by_me """
     retweeted_by_me = bind_api(
         path = '/statuses/retweeted_by_me.json',