Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1000 Bytes

README.md

File metadata and controls

40 lines (23 loc) · 1000 Bytes

flask-splitwise-example

An example Flask application to show the usage of Splitwise SDK

Installation

This application is dependent on Flask and Splitwise python packages. Install these python packages using the commands below:

pip install Flask
pip install splitwise

Register your application

Goto Splitwise and register you application. Use the following -

Homepage URL - http://localhost:5000

Callback URL - http://localhost:5000/authorize

Make note of Consumer Key and Consumer Secret

Set Configuraion

Open config.py and replace consumer_key and consumer_secret by the values you got after registering your application.

Run the application

Goto the cloned repository and type

python app.py

Goto http://localhost:5000/ on your browser.

Contact

Contact naman (dot) aggarwal (at) yahoo (dot) com for any information.