Remove methods using deprecated GET users/suggestions endpoints
authorHarmon <Harmon758@gmail.com>
Sat, 13 Jul 2019 01:03:33 +0000 (20:03 -0500)
committerHarmon <Harmon758@gmail.com>
Sat, 13 Jul 2019 01:05:42 +0000 (20:05 -0500)
commita108c620b31634973c951c5efa804495b33c3f93
tree7f4b115701568ec33cfc7d4f36a60a9d9b34d0a6
parent3560a52aef9415d8d6297130d2495fd99e1bf291
Remove methods using deprecated GET users/suggestions endpoints

This removes API.suggested_categories, API.suggested_users, and API.suggested_users_tweets, as the endpoints these methods use are now deprecated, return a 410 Gone error since June 30, 2019, and should no longer be used.
This also removes the corresponding tests and cassettes and the now obsolete Category model.

Reference:
https://twittercommunity.com/t/upcoming-changes-to-user-object-and-get-users-suggestions-endpoints/124732
cassettes/testsuggestedcategories.json [deleted file]
cassettes/testsuggestedusers.json [deleted file]
cassettes/testsuggesteduserstweets.json [deleted file]
tests/test_api.py
tweepy/__init__.py
tweepy/api.py
tweepy/models.py