Skip to main content

A Python 3 client for the Drip API.

Project description

Python Drip Client

This python drip client is maintained by Matthew Clarkson from Paper Planes, a data driven digital marketing agency based in Brisbane, Queensland Australia.

Installation

To install this package run pip install pydrip.

Usage

To use this package, simply import and initialize the DripClient from python-drip as follows:

from pydrip import DripClient

drip = DripClient(token=YOUR_ACCESS_TOKEN, account_id=YOUR_ACCOUNT_ID)

# Get Subscribers
status, data = drip.subscribers()
subscribers = data['subscribers']

# Create a Subscriber
subscriber = {
    'subscribers': {[
        { 'email': 'test@test.com' }
    ]}
}

drip.create_or_update_subscriber(subscriber)

About 90% of the API is covered.

Todo

  • Documentation
  • Test it ;)

Project details


Download files

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

Files for pydrip, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size pydrip-0.2.0-py3-none-any.whl (7.0 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page