Added mensions endpoint.
authorJosh Roesslein <jroesslein@gmail.com>
Mon, 6 Jul 2009 00:38:46 +0000 (19:38 -0500)
committerJosh Roesslein <jroesslein@gmail.com>
Mon, 6 Jul 2009 00:38:46 +0000 (19:38 -0500)
api.py

diff --git a/api.py b/api.py
index 3933623b8603f2b226ff58e6ce54ba128511b8fe..9c48d0a6cdd19466d0c2b39c751e276c9547b1ec 100644 (file)
--- a/api.py
+++ b/api.py
@@ -40,4 +40,12 @@ class API(object):
                         'max_id', 'count', 'page']
   )
 
+  """Get mentions"""
+  mentions = bind_api(
+      path = '/statuses/mentions.json',
+      parser = parse_statuses,
+      allowed_param = ['since_id', 'max_id', 'count', 'page'],
+      require_auth = True
+  )
+
 api = API('jitterapp', 'josh1987')