Skip to content

Releases: campaignmonitor/createsend-python

Version 7.0.0

10 Feb 04:46
b7eb6a8
Compare
Choose a tag to compare
  • 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

10 Feb 04:04
Compare
Choose a tag to compare

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

02 Sep 05:53
Compare
Choose a tag to compare
  • Added support for Journeys endpoints
  • This includes client/journeys, journeys/summary and the journeys/email/... endpoints

Version 4.2.7

03 Nov 05:28
Compare
Choose a tag to compare
  • Removes test dependencies from install package. (#53)
  • Build and upload universal wheels alongside source dists.

Version 4.2.2

01 Jul 18:39
7febbc3
Compare
Choose a tag to compare
  • 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

19 Dec 13:31
Compare
Choose a tag to compare
  • Decode JSON API responses using UTF-8: (#38)

Version 4.2.0

10 Oct 12:49
Compare
Choose a tag to compare
  • Support Python 3: #27
  • Use CGI SERVER_NAME in UA string: #32

Version 4.1.1

07 Aug 16:02
Compare
Choose a tag to compare
  • Fixed the MANIFEST file so that it includes new Transactional files (#25).

Version 4.1.0

04 Aug 11:09
Compare
Choose a tag to compare

Added support for Transactional Email

Version 4.0.0

19 Feb 11:58
Compare
Choose a tag to compare
  • 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 a Rules 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 a subject & 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" } ] } )