Merge branch 'master' into dm-migration
authorHarmon <Harmon758@gmail.com>
Sun, 14 Jul 2019 19:57:52 +0000 (14:57 -0500)
committerGitHub <noreply@github.com>
Sun, 14 Jul 2019 19:57:52 +0000 (14:57 -0500)
1  2 
docs/api.rst
tests/test_api.py
tweepy/api.py
tweepy/binder.py
tweepy/models.py

diff --cc docs/api.rst
Simple merge
Simple merge
diff --cc tweepy/api.py
index 49f2f3629dffbedb62dd2892817b3ce2b093a4e1,ac240b918faf688d78d1454f903c5fb5a05c24b6..9cd14a15a00937e07223280885f338be71e8a76a
@@@ -366,49 -366,23 +366,10 @@@ class API(object)
              allowed_param=['q', 'count', 'page']
          )
  
-     @property
-     def suggested_users(self):
-         """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-suggestions-slug
-             :allowed_param:'slug', 'lang'
-         """
-         return bind_api(
-             api=self,
-             path='/users/suggestions/{slug}.json',
-             payload_type='user', payload_list=True,
-             require_auth=True,
-             allowed_param=['slug', 'lang']
-         )
-     @property
-     def suggested_categories(self):
-         """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-suggestions
-             :allowed_param:'lang'
-         """
-         return bind_api(
-             api=self,
-             path='/users/suggestions.json',
-             payload_type='category', payload_list=True,
-             allowed_param=['lang'],
-             require_auth=True
-         )
--    @property
-     def suggested_users_tweets(self):
-         """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-suggestions-slug-members
-             :allowed_param:'slug'
 -    def direct_messages(self):
 -        """ :reference: https://developer.twitter.com/en/docs/direct-messages/sending-and-receiving/api-reference/get-messages
 -            :allowed_param:'since_id', 'max_id', 'count', 'full_text'
--        """
--        return bind_api(
--            api=self,
-             path='/users/suggestions/{slug}/members.json',
-             payload_type='status', payload_list=True,
-             allowed_param=['slug'],
 -            path='/direct_messages.json',
 -            payload_type='direct_message', payload_list=True,
 -            allowed_param=['since_id', 'max_id', 'count', 'full_text'],
--            require_auth=True
--        )
--
      @property
      def get_direct_message(self):
 -        """ :reference: https://developer.twitter.com/en/docs/direct-messages/sending-and-receiving/api-reference/get-message
 -            :allowed_param:'id', 'full_text'
 +        """ :reference: https://developer.twitter.com/en/docs/direct-messages/sending-and-receiving/api-reference/get-event
 +            :allowed_param:'id'
          """
          return bind_api(
              api=self,
Simple merge
Simple merge