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 extract-mailchimp==0.0.7
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file extract_mailchimp-0.0.8.tar.gz.
File metadata
- Download URL: extract_mailchimp-0.0.8.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
883bf52d1a85d7e605f3cb458082c5c3a034d7ff1a482b75ead3da05e5a3196e
|
|
| MD5 |
95a858a0978a4bec55b89d6d3b16e22e
|
|
| BLAKE2b-256 |
b3b442d5fbec1d18de2a969f4475efcd0d0331892e7f821668985a6eec0b3619
|
File details
Details for the file extract_mailchimp-0.0.8-py3-none-any.whl.
File metadata
- Download URL: extract_mailchimp-0.0.8-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2046213eb1c0bf87edaa80dad7f32489f00639b06296b10cd73755e705b9b533
|
|
| MD5 |
bcf516e854dcca8f331b2ce0c12f8315
|
|
| BLAKE2b-256 |
ce543a12abe32f03156a47ba333f2cea03cd11fbd7dde38dfd2779df1b612cd5
|