diff --git a/mastodon/trends.py b/mastodon/trends.py index 9aedc16..7c49f97 100644 --- a/mastodon/trends.py +++ b/mastodon/trends.py @@ -47,12 +47,14 @@ class Mastodon(Internals): return self.__api_request('GET', '/api/v1/trends', params, lang_override=lang) @api_version("3.5.0", "3.5.0", _DICT_VERSION_STATUS) - def trending_statuses(self, limit: Optional[int] = None, lang: Optional[str] = None) -> NonPaginatableList[Status]: + def trending_statuses(self, limit: Optional[int] = None, offset: Optional[int] = None, lang: Optional[str] = None) -> NonPaginatableList[Status]: """ Fetch trending-status information, if the instance provides such information. - Specify `limit` to limit how many results are returned (the maximum number - of results is 10, the endpoint is not paginated). + Specify `limit` to limit how many results are returned (default 20, the maximum + number of results is 40). + + Specify `offset` to paginate results. Default 0. Pass `lang` to override the global locale parameter, which may affect trend ordering.