From c1418e9f3f37319d5142e0fa058e2eab434c4e5d Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 27 Apr 2019 19:10:33 +0200 Subject: Removed trends endpoint --- mastodon/Mastodon.py | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'mastodon') diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index e8b900f..e6698f8 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -950,22 +950,6 @@ class Mastodon: params = self.__generate_params(locals()) return self.__api_request('GET', '/api/v2/search', params) - ### - # Reading data: Trends - ### - @api_version("2.4.3", "2.4.3", __DICT_VERSION_HASHTAG) - def trends(self): - """ - Fetch trending-hashtag information, if the instance provides such information. - - Does not require authentication. - - Returns a list of `hashtag dicts`_, sorted by the instances trending algorithm, - descending. - - """ - return self.__api_request('GET', '/api/v1/trends') - ### # Reading data: Lists ### -- cgit v1.2.3