Mute endpoints for the API #352
No reviewers
Labels
No labels
Bug
Enhancement
Feature Suggestion
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: code/twython#352
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "mutes"
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?
Added the create, destroy, list and list IDs mute(s) endpoints.
Roughly modelled on the similar-ish block user functions (note: the "mutes/users" instead of just "mutes" appears to be intentional by Twitter).
Also added myself to AUTHORS.rst because I reckon adding API bits makes the grade. ;)
Also purged my old repo which was just getting stupidly worse (I've got a backup if things ought to be extracted from it, but all the good changes were getting tainted by the bad so I nuked it).
Some nice additions! I'll take a look at this Monday!
Cool. It should work, but it's thoroughly untested.
I'll see if I can find the time to spin it off in a virtualenv a bit later and do that too. I just need to pick someone on my stream to mute for a few hours ... someone prolific ... maybe throw them into a list and get python to select some at random(-ish).
Coverage decreased (-0.61%) when pulling
036760bfd4on Hasimir:mutes into134414c87aon ryanmcgrath:master.After fixing a little typo a couple of minutes ago (already pushed), it now definitely works. I successfully muted and unmuted my country's ignoramus in chief, @TonyAbbottMHR.
I'll probably have to mute him again soon enough, he might open his mouth again. ;)