Removed trends endpoint
This commit is contained in:
pare
fb7496c68d
commit
c1418e9f3f
S'han modificat 2 arxius amb 0 adicions i 21 eliminacions
|
@ -772,11 +772,6 @@ Reading data: Searching
|
|||
.. automethod:: Mastodon.search
|
||||
.. automethod:: Mastodon.search_v2
|
||||
|
||||
Reading data: Trends
|
||||
--------------------
|
||||
|
||||
.. automethod:: Mastodon.trends
|
||||
|
||||
Reading data: Mutes and blocks
|
||||
------------------------------
|
||||
These functions allow you to get information about accounts that are
|
||||
|
|
|
@ -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
|
||||
###
|
||||
|
|
Loading…
Referencia en una nova incidència