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

diff --git a/api.py b/api.py
index 373961b87fcdb77f2fda2cae8abf38c27ef6a347..3933623b8603f2b226ff58e6ce54ba128511b8fe 100644 (file)
--- a/api.py
+++ b/api.py
@@ -31,3 +31,13 @@ class API(object):
       allowed_param = ['since_id', 'max_id', 'count', 'page'],
       require_auth = True
   )
+
+  """Get user timeline"""
+  user_timeline = bind_api(
+      path = '/statuses/user_timeline.json',
+      parser = parse_statuses,
+      allowed_param = ['id', 'user_id', 'screen_name', 'since_id',
+                        'max_id', 'count', 'page']
+  )
+
+api = API('jitterapp', 'josh1987')