diff options
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index e8b900f..e6698f8 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -951,22 +951,6 @@ class Mastodon: | |||
951 | return self.__api_request('GET', '/api/v2/search', params) | 951 | return self.__api_request('GET', '/api/v2/search', params) |
952 | 952 | ||
953 | ### | 953 | ### |
954 | # Reading data: Trends | ||
955 | ### | ||
956 | @api_version("2.4.3", "2.4.3", __DICT_VERSION_HASHTAG) | ||
957 | def trends(self): | ||
958 | """ | ||
959 | Fetch trending-hashtag information, if the instance provides such information. | ||
960 | |||
961 | Does not require authentication. | ||
962 | |||
963 | Returns a list of `hashtag dicts`_, sorted by the instances trending algorithm, | ||
964 | descending. | ||
965 | |||
966 | """ | ||
967 | return self.__api_request('GET', '/api/v1/trends') | ||
968 | |||
969 | ### | ||
970 | # Reading data: Lists | 954 | # Reading data: Lists |
971 | ### | 955 | ### |
972 | @api_version("2.1.0", "2.1.0", __DICT_VERSION_LIST) | 956 | @api_version("2.1.0", "2.1.0", __DICT_VERSION_LIST) |