From 0371686e1a87f7379a964981263aa9b42e1fc91f Mon Sep 17 00:00:00 2001 From: Laura <3868507+codingcatgirl@users.noreply.github.com> Date: Thu, 21 Sep 2017 20:49:01 +0200 Subject: [PATCH] allow cursor parameter for block_ids method (fixes #930) --- tweepy/api.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tweepy/api.py b/tweepy/api.py index 4276709..60c5ba8 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -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 ) -- 2.25.1