From: Joshua Roesslein Date: Fri, 23 Apr 2010 20:09:30 +0000 (-0500) Subject: Use 'per_page' instead of 'count' paramter for list_timeline() method. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b74abfa27ef5a339f1e893384899989cd202b060;p=tweepy.git Use 'per_page' instead of 'count' paramter for list_timeline() method. Fixes issue #27 --- diff --git a/doc/api.rst b/doc/api.rst index 11a3b20..8f05a2c 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -706,7 +706,7 @@ List Methods :rtype: list of :class:`List` objects -.. method:: API.list_timeline(owner, slug, [since_id], [max_id], [count], [page]) +.. method:: API.list_timeline(owner, slug, [since_id], [max_id], [per_page], [page]) Show tweet timeline for members of the specified list. @@ -714,7 +714,7 @@ List Methods :param slug: |slug| :param since_id: |since_id| :param max_id: |max_id| - :param count: |count| + :param per_page: Number of results per a page :param page: |page| :rtype: list of :class:`Status` objects diff --git a/tweepy/api.py b/tweepy/api.py index 734e1ca..27460e8 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -548,7 +548,7 @@ class API(object): list_timeline = bind_api( path = '/{owner}/lists/{slug}/statuses.json', payload_type = 'status', payload_list = True, - allowed_param = ['owner', 'slug', 'since_id', 'max_id', 'count', 'page'] + allowed_param = ['owner', 'slug', 'since_id', 'max_id', 'per_page', 'page'] ) get_list = bind_api(