allow cursor parameter for block_ids method (fixes #930)
authorLaura <3868507+codingcatgirl@users.noreply.github.com>
Thu, 21 Sep 2017 18:49:01 +0000 (20:49 +0200)
committerGitHub <noreply@github.com>
Thu, 21 Sep 2017 18:49:01 +0000 (20:49 +0200)
tweepy/api.py

index 4276709e202ce08b4d14757c6ed79156999b7823..60c5ba855ad8c016ee60d26f21de5a36a8a6e10f 100644 (file)
@@ -816,11 +816,14 @@ class API(object):
 
     @property
     def blocks_ids(self):
-        """ :reference: https://dev.twitter.com/rest/reference/get/blocks/ids """
+        """ :reference: https://dev.twitter.com/rest/reference/get/blocks/ids 
+            :allowed_param:'cursor'
+        """
         return bind_api(
             api=self,
             path='/blocks/ids.json',
             payload_type='json',
+            allowed_param=['cursor'],
             require_auth=True
         )