skip to navigation
skip to content

Not Logged In

mailjet 1.1

mailjet is a django app to implement the mailjet REST API

Package Documentation

Latest Version: 1.4.0


mailjet is a library to access the Mailjet REST API.


To install simply execute python install.

The settings can be configured from a Django settings file through MAILJET_API_KEY and MAILJET_SECRET_KEY. Or through environment variables the same name.


export MAILJET_API_KEY=something
export MAILJET_SECRET_KEY=something_else


To fetch data:

>>> import mailjet
>>> print mailjet.Api().user.infos()
    u'status': u'OK',
    u'infos': {
        u'username': u'',
        u'firstname': u'firstname',
        u'locale': u'en_US',
        u'lastname': u'lastname',
        u'company_name': u'company_name',
        u'contact_phone': None,

To put data:

>>> import mailjet
>>> api = mailjet.Api()
>>> list_ = api.lists.create(label='Test', name='test')
>>> print list_
{u'status': u'OK', u'list_id': ...}
>>> print api.user.addcontact(
File Type Py Version Uploaded on Size
mailjet-1.1.tar.gz (md5) Source 2012-09-08 3KB
  • Downloads (All Versions):
  • 65 downloads in the last day
  • 551 downloads in the last week
  • 1938 downloads in the last month