zrlay / active-campaign-python

Active Campaign Python Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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).

About

Active Campaign Python Library


Languages

Language:Python 100.0%