require_auth = True
)
- """ friendships/exists """
- exists_friendship = bind_api(
- path = '/friendships/exists.json',
- payload_type = 'json',
- allowed_param = ['user_a', 'user_b']
- )
-
""" friendships/show """
show_friendship = bind_api(
path = '/friendships/show.json',
'target_id', 'target_screen_name']
)
-
""" Perform bulk look up of friendships from user ID or screenname """
def lookup_friendships(self, user_ids=None, screen_names=None):
return self._lookup_friendships(list_to_csv(user_ids), list_to_csv(screen_names))