Extract MailChimp data only by folder ID
Project description
MailChimp Extractor by Directory ID
Download mailchimp campaign data by campaign directory (folder) id Origin by mailchimp-marketing-python
Requirements
Python 3.6+
Installation
pip install
pip install
Endpoints
Method | requirement | return |
---|---|---|
get_campaign_raw_data_by_folder_id |
{campaign_folder_id} | JSON |
get_campaign_id_by_folder_id |
{campaign_folder_id} | list |
campaign_information_to_pandas |
{campaign_id} | pd.DataFrame |
click_details_to_pandas |
{campaign_id} | pd.DataFrame |
Usage
you must make .env
file with your mailchimp api key and server
from extract_mailchimp import MailChimp
if __name__ == "__main__":
campaign_folder_id = {campaign_folder_id}
mc = MailChimp()
print(mc.get_campaign_id_by_folder_id(campaign_folder_id))
# [['{campaign_id}', '{campaign_title}']]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for extract_mailchimp-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1776cd0ff2869db4e00605cf6c6d15898cf93d21305667890103c955058917b5 |
|
MD5 | 871c23490c33e0cef01e62b6cd718387 |
|
BLAKE2b-256 | 7b35a5f2cde7a9930c77db0fb71509dc39553986dd6f257c103d787e828bf05a |