InfusionSoft API wrapper for Infusionsoft written in Python.
git+git://github.com/GearPlug/infusionsoft-python.git
from infusionsoft.client import Client
client = Client('CLIENT_ID', 'CLIENT_SECRET', 'OPTIONAL - access_token')
Get authorization url
url = client..oauth_access("REDIRECT_URL")
Exchange the code for an access token
token = client.exchange_code('REDIRECT_URL', 'CODE')
Refresh token
token = client.refresh_token('REFRESH TOKEN')
Set token
token = client.set_token('TOKEN')
- requests
- base64 -- b64encode
infusionsoft/test.py
- All Appointments Section
- All File Section
- All Tag Section