The Splitwise API create_expense endpoint supports a split_equally property which, when true, obviates the need for manually specifying users and amounts. (Manually specifying amounts is error-prone due to rounding.) This is perhaps the most common use case so it makes sense for this library to support it.
The Splitwise API create_expense endpoint supports a
split_equally
property which, whentrue
, obviates the need for manually specifying users and amounts. (Manually specifying amounts is error-prone due to rounding.) This is perhaps the most common use case so it makes sense for this library to support it.