You can install active-campaign-python from pypi
pip install active-campaign-python
from activecampaign import ActiveCampaign # url provided to you by ActiveCampaign base_url = '' # api key provided to you by ActiveCampaign api_key = '' ac = ActiveCampaign(base_url, api_key) print(ac.api('account/view'))
Each of the endpoint subclasses have comments at the bottom
- A valid ActiveCampaign hosted account (trial or paid).