Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Venmo Flask Example OAuth App
Python
Branch: master
Failed to load latest commit information.
.gitignore
README.md
main.py

README.md

Venmo OAuth Flask Example

An example server-side implementation of obtaining a long-lived access token for Venmo OAuth.

Venmo API documentation available here.

Setup

Install flask and requests

pip install flask
pip install requests

Create a new Venmo Application by visiting https://venmo.com/

Login and go to: Account > Developers > New Application.

Create new application

Clone this repo and cd into the venmo-flask directory. Create a constants.py file with these definitions:

CONSUMER_ID Your Venmo app ID e.g. 1349 **NO QUOTATION MARKS**
CONSUMER_SECRET Your Venmo app secret as a string e.g. 'E4jWCktKjvnDoIjdFwXaQuGBKPhxTDXR'
APP_SECRET A random string used to encrypt your session cookies e.g. 'thisappisnice'

Then run

python main.py

Go to localhost:5000 in your browser, and log in with your Venmo credentials.

Something went wrong with that request. Please try again.