From b74abfa27ef5a339f1e893384899989cd202b060 Mon Sep 17 00:00:00 2001 From: Joshua Roesslein Date: Fri, 23 Apr 2010 15:09:30 -0500 Subject: [PATCH] Use 'per_page' instead of 'count' paramter for list_timeline() method. Fixes issue #27 --- doc/api.rst | 4 ++-- tweepy/api.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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( -- 2.25.1