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
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 Distributions
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 pydrip-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pydrip-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4bd61e2d187088819f24444cf0037b8ce8a81bb852abfbd6a6c987276839984
|
|
| MD5 |
eb5246086df51ca9926f09498bad7c66
|
|
| BLAKE2b-256 |
5a1e1264cef250b1e2b48230722d0f284daf0fe03b3dc530ce752d23821bdd89
|