ActiveCampaign API client
Project description
Simple and Pythonic ActiveCampaign API client
Free software: BSD license
Features
View & sync a contact
Add a contact tag
Remove a contact tag
Basic usage
Initialize the client with your custom ActiveCampaign host name and API key:
from activecampaign.client import ActiveCampaignClient client = ActiveCampaignClient(ACTIVECAMPAIGN_HOST, ACTIVECAMPAIGN_KEY)
Sync contact information:
client.contacts.sync( email=customer_data['email'], first_name=customer_data['first_name'], last_name=customer_data['last_name'], orgname=custmoer_data['orgname'], phone=customer_data['phone'], )
Add and remove tags:
client.contacts.tag_add("new-tag", email=customer_data['email']) client.contacts.tag_remove("old-tag", email=customer_data['email'])
History
0.2.0 (2019-07-09)
Dropped support for Python 2.7
0.1.0 (2016-02-22)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
activecampaign-0.2.0.tar.gz
(12.6 kB
view hashes)
Built Distribution
Close
Hashes for activecampaign-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fdd20219be1929625a28c2bac03b093e2e13eddfed76c6f9be51bf1984d56d4 |
|
MD5 | 784433fa1242c09a116973db6a415f12 |
|
BLAKE2b-256 | 6820e35ff6008009a91c13feabe7ae9286fa48c63091fea25fcf8b4900c66302 |