From: Joshua Roesslein Date: Fri, 23 Apr 2010 19:58:36 +0000 (-0500) Subject: Added friendships_incoming() and friendships_outgoing() methods. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7cc856354dd7ab5afe8694bd9ba6161c6ebfa9af;p=tweepy.git Added friendships_incoming() and friendships_outgoing() methods. See dev.twitter.com documentation for more details. --- diff --git a/tweepy/api.py b/tweepy/api.py index 4fd388e..734e1ca 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -270,6 +270,20 @@ class API(object): allowed_param = ['id', 'user_id', 'screen_name', 'cursor'] ) + """ friendships/incoming """ + friendships_incoming = bind_api( + path = '/friendships/incoming.json', + payload_type = 'ids', + allowed_param = ['cursor'] + ) + + """ friendships/outgoing""" + friendships_outgoing = bind_api( + path = '/friendships/outgoing.json', + payload_type = 'ids', + allowed_param = ['cursor'] + ) + """ followers/ids """ followers_ids = bind_api( path = '/followers/ids.json',