diff options
author | Lorenz Diener <[email protected]> | 2019-04-27 19:10:33 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-04-27 19:10:33 +0200 |
commit | c1418e9f3f37319d5142e0fa058e2eab434c4e5d (patch) | |
tree | 9fbde2b214f6e7ed899667926c960200e21698d8 /mastodon | |
parent | fb7496c68db5941528d0e32d821b58e255b2cb51 (diff) | |
download | mastodon.py-c1418e9f3f37319d5142e0fa058e2eab434c4e5d.tar.gz |
Removed trends endpoint
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) |