Add trim_user endpoint parameter for API.retweets
authorHarmon <Harmon758@gmail.com>
Wed, 10 Feb 2021 04:13:28 +0000 (22:13 -0600)
committerHarmon <Harmon758@gmail.com>
Wed, 10 Feb 2021 04:13:28 +0000 (22:13 -0600)
tweepy/api.py

index 6b9761d11b554fd7a26d96dc98327db4fe7568d1..faed1766d14da8b7b46875ca8e5a729162495efb 100644 (file)
@@ -428,7 +428,7 @@ class API:
         return self.request(
             'GET', f'statuses/retweets/{id}', *args,
             endpoint_parameters=(
-                'count',
+                'count', 'trim_user'
             ), **kwargs
         )