Skip to content

Releases: campaignmonitor/createsend-python

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" } ] } )

Version 3.4.0

25 Jan 20:13
Compare
Choose a tag to compare
  • Modified several methods so that unnecessary arguments are no longer needed.

    The following methods were updated:

    • Administrator.get()
    • Person.get()
    • Subscriber.get()

    As an example using, previously you would write:

    subscriber = Subscriber(auth, 'listid', 'me@test.com').get('listid', 'me@test.com')

    Now you can write:

    subscriber = Subscriber(auth, 'listid', 'me@test.com').get()

Version 3.3.0

13 Jul 12:06
Compare
Choose a tag to compare
  • Added support for validating SSL certificates to avoid man-in-the-middle attacks.