From 7cc856354dd7ab5afe8694bd9ba6161c6ebfa9af Mon Sep 17 00:00:00 2001 From: Joshua Roesslein Date: Fri, 23 Apr 2010 14:58:36 -0500 Subject: [PATCH] Added friendships_incoming() and friendships_outgoing() methods. See dev.twitter.com documentation for more details. --- tweepy/api.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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', -- 2.25.1