Releases: campaignmonitor/createsend-python
Releases · campaignmonitor/createsend-python
Version 7.0.0
- Upgrades to Createsend API v3.3 which includes new breaking changes
- Breaking: 'client.campaigns' now returned an object to support pagination (use .Results to get the array of campaigns)
- Added 'Tags' as another field that is returned in 'client.scheduled', 'client.drafts' and client.campaigns'
- Added 'Name' as another field that is returned in 'campaign.summary'
- Add new support for 'client.tags' endpoint (ie: getting list of tags for the client)
- Add support for pagination, filtering and sorting to 'client.campaigns' endpoint
- Add Python 3.10 to tox.ini
- Adding support for returning ListJoinedDate for each subscriber.
- List.Active()
- List.Bounced()
- List.Unsubscribed()
- List.Unconfirmed()
- List.Deleted()
- Segment.Subscribers()
- Subscriber.Get()
Version 6.1.2
Transactional
- Add excludemessagebody parameter for Transactional message details endpoint and update tests.
- Update README with sample code for using message details and timeline endpoint.
General
- Add Python 3.8 to tox.ini and travis-ci
Version 6.1.0
- Added support for Journeys endpoints
- This includes client/journeys, journeys/summary and the journeys/email/... endpoints
Version 4.2.7
- Removes test dependencies from install package. (#53)
- Build and upload universal wheels alongside source dists.
Version 4.2.2
- Fix bug where the six module was not set as a installation dependency.
- Remove relative imports.
- Improve Python 3 support.
- Use PEP 8 formatting.
- See #43 for details.
Published at https://pypi.python.org/pypi/createsend/4.2.2.
Version 4.2.1
- Decode JSON API responses using UTF-8: (#38)
Version 4.2.0
Version 4.1.1
- Fixed the
MANIFEST
file so that it includes new Transactional files (#25).
Version 4.1.0
Added support for Transactional Email
Version 4.0.0
- Removed
CreateSend.apikey
to promote using OAuth rather than basic auth with an API key. - Started using the
https://api.createsend.com/api/v3.1/
API endpoint. - Added support for new segments structure.
-
Segments now includes a new
RuleGroups
member, instead of aRules
member.So for example, when you previously would have created a segment like so:
segment.create(list.ListID, 'Python API Segment', [ { "Subject": "EmailAddress", "Clauses": ["CONTAINS pyapi.com"] } ])
You would now do this:
segment.create(list.ListID, 'Python API Segment', [ { "Rules": [ { "RuleType": "EmailAddress", "Clause": "CONTAINS pyapi.com" } ] } ])
-
The Add Rule call is now Add Rule Group, taking a
rulegroup
argument instead of asubject
&clauses
argument.Segment.add_rulegroup(self, rulegroup):
So for example, when you previously would have added a rule like so:
segment.add_rule( "EmailAddress", ["CONTAINS pyapi.com"] )
You would now do this:
segment.add_rulegroup( { "Rules": [ { "RuleType": "EmailAddress", "Clause": "CONTAINS pyapi.com" } ] } )
-