Python wrapper for GetResponse API 3
This library provides a pure Python interface for the GetResponse API 3.
It works with Python version 3.
GetResponse is a leading Email Marketing platform that is used by thousands of users arount the globe.
It is
All-in-one Online Marketing Platform to Grow Your Business
git clone https://github.com/pavelkalin/getresponse-python.git
cd getresponse-python
pip install -Ur requirements/production.txt
For testing purposes install staging.txt instead of production:
pip install -Ur requirements/staging.txt
Tests can be run via nose like this without coverage:
nosetest
Tests can be run via nose like this with coverage:
nosetest --with-coverage
Obtain API_KEY, API_ENDPOINT and X_DOMAIN if GetResponse 360 is used.
For GetResponse it's enough to have just API_KEY and API_ENDPOINT
from getresponse.getresponsev3 import Campaigns
API_ENDPOINT = ''
API_KEY = ''
X_DOMAIN = ''
getresponse = Campaigns(api_endpoint=API_ENDPOINT, api_key=API_KEY, x_domain=X_DOMAIN)
#to get list of all campagins within account
campaigns = getresponse.get_campaigns()
print(campaigns)
More examples can be found in examples/ folder
This API wrapper should mimic the original documentation
However original documentaion is still evolving (new API methods are added) and this wrapper is still being builded, so feel free to fork this repo and change/update/add it however you like.
At this stage please use it AS IS and consult with documentation here
- readthedocs
- installing via pip
- full mapping for original API calls
- more examples
- live cases
- Campaigns
- From-Fields
- Custom Fields
- Newsletters
- Autoresponders
- RSS Newsletters
- Contacts
- SearchContacts
- Subscription Confirmations
- Tags
- Search Contacts Reference Manual
- Accounts
- Goals
- Webforms
- Forms
- Landing pages
- Suppressions
- E-commerce
- Multimedia
- Marketing Automation
Pavel Kalinichenko
[email protected]