Mute endpoints for the API #352

Merged
Hasimir merged 3 commits from mutes into master 2014-11-03 14:23:21 -08:00
Hasimir commented 2014-11-01 16:47:08 -07:00 (Migrated from github.com)

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).

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).
michaelhelmick commented 2014-11-01 17:15:52 -07:00 (Migrated from github.com)

Some nice additions! I'll take a look at this Monday!

Some nice additions! I'll take a look at this Monday!
Hasimir commented 2014-11-01 20:03:03 -07:00 (Migrated from github.com)

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).

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).
coveralls commented 2014-11-01 22:06:29 -07:00 (Migrated from github.com)

Coverage Status

Coverage decreased (-0.61%) when pulling 036760bfd4 on Hasimir:mutes into 134414c87a on ryanmcgrath:master.

[![Coverage Status](https://coveralls.io/builds/1415613/badge)](https://coveralls.io/builds/1415613) Coverage decreased (-0.61%) when pulling **036760bfd4a3d06b534be06bc3a56843ccb84868 on Hasimir:mutes** into **134414c87a3aa7b26b1800c188de412aca162b87 on ryanmcgrath:master**.
Hasimir commented 2014-11-01 22:13:41 -07:00 (Migrated from github.com)

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. ;)

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. ;)
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: code/twython#352
No description provided.