The functionality of trending_statuses doesn't seem to match Mastodon's /api/v1/trends/statuses API. The described maximum limit is inaccurate, and the offset parameter can't be provided for pagination.
Integer. Maximum number of results to return. Defaults to 20 statuses. Max 40 statuses.
offset
Integer. Skip the first n results.
I've confirmed that Mastodon v4.1.4's API functions as described by making requests against the API using limit and offset parameters to pull up to 40 statuses at a time and to offset the results.
The functionality of
trending_statuses
doesn't seem to match Mastodon's/api/v1/trends/statuses
API. The described maximum limit is inaccurate, and theoffset
parameter can't be provided for pagination.From Mastodon.py's documentation for
Mastodon.trending_statuses()
at https://mastodonpy.readthedocs.io/en/stable/08_instances.html#mastodon.Mastodon.trending_statusesFrom Mastodon's API documentation for
/api/v1/trends/statuses
at https://docs.joinmastodon.org/methods/trends/#statusesI've confirmed that Mastodon v4.1.4's API functions as described by making requests against the API using
limit
andoffset
parameters to pull up to 40 statuses at a time and to offset the results.