Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
tweepy
Commits
8373a0ab
Commit
8373a0ab
authored
Sep 16, 2017
by
Aaron Hill
Committed by
GitHub
Sep 16, 2017
Browse files
Merge pull request #736 from legokichi/issue735
Issue735
parents
c8e473ed
0c7fa422
Changes
1
Hide whitespace changes
Inline
Side-by-side
tweepy/api.py
View file @
8373a0ab
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment