Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mastodon.trending_statuses and Mastodon.trending_links Each Return One Item #338

Open
pdeitel opened this issue Apr 22, 2023 · 3 comments
Open

Comments

@pdeitel
Copy link

pdeitel commented Apr 22, 2023

Hi, I was trying Mastodon.trending_statuses and Mastodon.trending_links methods.

The docs for each say these methods can receive the limit parameter to specify the number of items to return. Both fail with

  `TypeError: got an unexpected keyword argument 'limit'`

when called with a limit argument and both return a dict, not an "Array of" objects, as specified in the Mastodon API.

@halcy
Copy link
Owner

halcy commented Apr 23, 2023

yep, the parameters are just... missing. Oops. As for return values: huh. Will have to check that.

@halcy
Copy link
Owner

halcy commented Apr 23, 2023

Missing parameters fixed in master, rest to be investigated.

@pdeitel
Copy link
Author

pdeitel commented Apr 23, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants