Differences

This shows you the differences between two versions of the page.

Link to this comparison view

create_friendship [2012/10/09 17:59] (current)
Marshall Weir created
Line 1: Line 1:
 +Create a friendship between the current user and the specified user (user_id or email + (name))
 +
 +Returns existing friendship if it already exists
 +
 +GET https://splitwise.com/api/v1.0/create_friendship/:id
 +
 +Parameters:
 +  - user_id OR
 +  - user_email OR
 +  - user_email + user_first_name + user_last_name
 +user_last_name is technically optional, but don’t tell the user that :)
 +
 +Return value:
 +  - Detailed Friendship hash, + “errors” parameter with any errors that have occurred