Remove API.related_results
authorHarmon <Harmon758@gmail.com>
Fri, 29 Jan 2021 01:48:47 +0000 (19:48 -0600)
committerHarmon <Harmon758@gmail.com>
Fri, 29 Jan 2021 01:48:47 +0000 (19:48 -0600)
tweepy/api.py

index 197c7b8da9e3135fb83edeed50d55fe2c79414c2..1e6db315fc048b918c284e663248ca789082db74 100644 (file)
@@ -135,18 +135,6 @@ class API:
             require_auth=True, **kwargs
         )
 
-    def related_results(self, *args, **kwargs):
-        """ :reference: https://dev.twitter.com/docs/api/1.1/get/related_results/show/%3id.format
-            :allowed_param: 'id'
-        """
-        return bind_api(
-            *args, api=self,
-            path='/related_results/show/{id}.json',
-            payload_type='relation', payload_list=True,
-            allowed_param=['id'],
-            require_auth=False, **kwargs
-        )
-
     @pagination(mode='id')
     def retweets_of_me(self, *args, **kwargs):
         """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-retweets_of_me