Commit 8373a0ab authored by Aaron Hill's avatar Aaron Hill Committed by GitHub
Browse files

Merge pull request #736 from legokichi/issue735

Issue735
parents c8e473ed 0c7fa422
...@@ -259,6 +259,20 @@ class API(object): ...@@ -259,6 +259,20 @@ class API(object):
require_auth=True require_auth=True
) )
@property
def unretweet(self):
""" :reference: https://dev.twitter.com/rest/reference/post/statuses/unretweet/%3Aid
:allowed_param:'id'
"""
return bind_api(
api=self,
path='/statuses/unretweet/{id}.json',
method='POST',
payload_type='status',
allowed_param=['id'],
require_auth=True
)
@property @property
def retweets(self): def retweets(self):
""" :reference: https://dev.twitter.com/rest/reference/get/statuses/retweets/%3Aid """ :reference: https://dev.twitter.com/rest/reference/get/statuses/retweets/%3Aid
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment