feat: add get_trending_hashtags to discovery mixin #11
No reviewers
Labels
No labels
bug
contribution welcome
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
marvin8/longwei!11
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/11/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #10
What
Adds
get_trending_hashtags()—GET /api/v1/trends/tags— to_DiscoveryMixin, completing the four trending endpoints alongside statuses, accounts, and links.list[Tag]withlimit/offsetsupportTagis now exported fromlongwei__all__api-methods.md,api-coverage.md,data-models.mdTests
Three new tests in
test_mixin_discovery.py: happy path, params, network error. Full suite: 677 passed, 99.66% coverage.