From bac73c3f1418ad3ce15524c4a9024c57ec70d12b Mon Sep 17 00:00:00 2001 From: Harmon Date: Mon, 8 Feb 2021 02:48:44 -0600 Subject: [PATCH] Require id parameter for API.get_status --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index ec3b49f..43bcf16 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -306,11 +306,11 @@ class API: ) @payload('status') - def get_status(self, *args, **kwargs): + def get_status(self, id, *args, **kwargs): """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-show-id """ return self.request( - 'GET', 'statuses/show', *args, endpoint_parameters=( + 'GET', 'statuses/show', id, *args, endpoint_parameters=( 'id', 'trim_user', 'include_my_retweet', 'include_entities', 'include_ext_alt_text', 'include_card_uri' ), **kwargs -- 2.25.1