Guillaume Badi

Check out our new Python wrapper here.

Python is a programming language made for makers. It’s verbose –  arguably similar to English, in the sense that you can perform complex tasks with just a few lines and focus on your solutions without taking care of the actual implementation. Python is designed for building and executing ideas, taking them beyond the brainstorming stage.

Today we are proud to unveil a brand new Python wrapper that we’ll be adding to our collection. The wrapper focuses on simplicity – you can use a single line of code to perform almost any action you need. Nothing more, nothing less.

Considering Python is THE most popular introductory language – it has arguably the largest community of developers of all skill sets and skill levels – the possibilities for collaboration and innovation are great. Not to mention – it’s fast, one of the most important things for your email.

 

“Python is fast enough for our site and allows us to produce maintainable features in record times, with a minimum of developers” — Cuong Do, Software Architect, YouTube.com


Listing your first 150 contacts:

You can access any resource from Mailjet, followed by either ‘get’, ‘create’, ‘update’ or ‘delete’

Filtering the query is made easy by simply passing a dictionary as a parameter.

Screen Shot 2015-10-22 at 3.45.25 PM

Viewing a specific contact:

Listing your contacts will return your entire list, or the first “x” number of contacts as specified, so what happens when you want to retrieve information for one individual contact? You’ll need to call your contact’s ID. Here’s what it looks like.

Screen Shot 2015-10-22 at 3.45.31 PM

Above and beyond sending email:

We know that email isn’t just about delivery – it’s so much more. It’s about building strong relationships with your contacts, which includes testing content, tracking their engagement through key metrics, and even removing them from your list when they are no longer engaged.

Screen Shot 2015-10-22 at 3.45.45 PM
 

Try it out and let us know what you think! Let us know below what you planning on building first with the new Python wrapper .