this is an example of splitwise's API which can be found here: http://dev.splitwise.com/