Splitwise Python SDK

Release v3.0.0 (Installation)

https://pepy.tech/badge/splitwise https://img.shields.io/pypi/l/splitwise.svg https://img.shields.io/pypi/wheel/splitwise.svg https://img.shields.io/pypi/pyversions/splitwise.svg

splitwise is a Python SDK library to automate Splitwise.


It’s simple to use:

>>> s = Splitwise("consumer_key", "consumer_secret")
>>> s.setAccessToken(access_token)
>>> s.getCurrentUser().getId()
78322
>>> expense = Expense()
>>> expense.setGroupId("19433671")
>>> expense.setSplitEqually()
>>> expense.setCost("10")
>>> created_expense, errors = s.createExpense(expense)
>>> created_expense.getId()
897763

Splitwise SDK uses requests to make the HTTP requests to splitwise on your behalf.

The API Documentation / Guide

If you are looking for information on a specific function, class, or method, this part of the documentation is for you.

Contributing Guide

If you are looking to contribute to this SDK, this part is for you.

Indices and tables