Commit 5bf88f26 authored by Jan Schaumann's avatar Jan Schaumann
Browse files
parent aa6a31d5
......@@ -25,3 +25,4 @@ Wayne Moore
Will McCutchen
gilles
Can Duruk
Jan Schaumann (@jschauma)
......@@ -3,7 +3,7 @@
from setuptools import setup, find_packages
setup(name="tweepy",
version="1.9",
version="1.9.1",
description="Twitter library for python",
license="MIT",
author="Joshua Roesslein",
......
......@@ -41,6 +41,10 @@ class TweepyAPITests(unittest.TestCase):
def testretweetedbyme(self):
self.api.retweeted_by_me()
def testretweetedbyuser(self):
self.api.retweeted_by_user()
self.api.retweeted_bye_user('twitter')
def testretweetedtome(self):
self.api.retweeted_to_me()
......
......@@ -5,7 +5,7 @@
"""
Tweepy Twitter API library
"""
__version__ = '1.9'
__version__ = '1.9.1'
__author__ = 'Joshua Roesslein'
__license__ = 'MIT'
......
......@@ -70,6 +70,14 @@ class API(object):
require_auth = True
)
"""/statuses/retweeted_by_user.format"""
retweeted_by_user = bind_api(
path = '/statuses/retweeted_by_user.json',
payload_type = 'status', payload_list = True,
allowed_param = ['screen_name', 'id', 'count', 'since_id',
'max_id', 'page', 'include_entities']
)
"""/statuses/:id/retweeted_by.format"""
retweeted_by = bind_api(
path = '/statuses/{id}/retweeted_by.json',
......
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