add count to list_members()
authorbrett-schneider <github@cbret.de>
Sun, 11 Oct 2020 17:30:56 +0000 (19:30 +0200)
committerbrett-schneider <github@cbret.de>
Sun, 11 Oct 2020 17:30:56 +0000 (19:30 +0200)
tweepy/api.py

index 262fbb7f9470d8b29b89046208e77ff983a711e1..3f25235b212b087ae370f08caf146cd949171d4e 100644 (file)
@@ -1173,14 +1173,14 @@ class API(object):
     def list_members(self):
         """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-members
             :allowed_param: 'owner_screen_name', 'slug', 'list_id', 'owner_id',
-                            'cursor'
+                            'cursor', 'count'
         """
         return bind_api(
             api=self,
             path='/lists/members.json',
             payload_type='user', payload_list=True,
             allowed_param=['owner_screen_name', 'slug', 'list_id', 'owner_id',
-                           'cursor']
+                           'cursor', 'count']
         )
 
     @property