Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

extract_mailchimp-0.0.8.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

extract_mailchimp-0.0.8-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

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

Hashes for extract_mailchimp-0.0.8.tar.gz
Algorithm Hash digest
SHA256 883bf52d1a85d7e605f3cb458082c5c3a034d7ff1a482b75ead3da05e5a3196e
MD5 95a858a0978a4bec55b89d6d3b16e22e
BLAKE2b-256 b3b442d5fbec1d18de2a969f4475efcd0d0331892e7f821668985a6eec0b3619

See more details on using hashes here.

File details

Details for the file extract_mailchimp-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for extract_mailchimp-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 2046213eb1c0bf87edaa80dad7f32489f00639b06296b10cd73755e705b9b533
MD5 bcf516e854dcca8f331b2ce0c12f8315
BLAKE2b-256 ce543a12abe32f03156a47ba333f2cea03cd11fbd7dde38dfd2779df1b612cd5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page