Active Campaign Python Library
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
includes
.gitignore
README.md
examples.py

README.md

Installation

You can install active-campaign-python by downloading the source.

Click here to download the source (.zip) which includes all dependencies.

from includes.ActiveCampaign import ActiveCampaign

Fill in your URL and API Key in the includes/Config.py file, and you are good to go!

Example Usage

includes/Config.py

from includes.Config import ACTIVECAMPAIGN_URL, ACTIVECAMPAIGN_API_KEY

examples.py

from includes.ActiveCampaign import ActiveCampaign
from includes.Config import ACTIVECAMPAIGN_URL, ACTIVECAMPAIGN_API_KEY

ac = ActiveCampaign(ACTIVECAMPAIGN_URL, ACTIVECAMPAIGN_API_KEY)
print ac.api('account/view')

See our examples file or the comments from files in includes folder for more in-depth samples.

Prerequisites

  1. A valid ActiveCampaign hosted account (trial or paid).