Skip to main content

Python wrapper for Mailgun REST API

Project description

Python wrapper for MailGun REST API

Documentation:
=============

Please visit our documentation page at
http://documentation.mailgun.net


Installation
============

There are two ways to install Mailgun API:

1. sudo python setup.py install
2. Grab mailgun.py from the 'lib' folder of this repo and place it on your PYTHONPATH manually


Samples tryout:
===================

> ./run_sample.sh samples/creating-routes.py
> ./run_sample.sh samples/sending-mail.py
> ./run_sample.sh samples/using-mailboxes.py


Getting started:
================

from mailgun import Mailgun, Mailbox

Mailgun.init("my-api-key", "https://mailgun.net/api")
for mailbox in Mailbox.find():
print "{0} has size of {1}".format (mailbox.id, mailbox.size)


For more visit http://documentation.mailgun.net


--
MG team

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mailgun-0.1.1.tar.gz (5.3 kB view details)

Uploaded Source

File details

Details for the file mailgun-0.1.1.tar.gz.

File metadata

  • Download URL: mailgun-0.1.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mailgun-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ce38be58e3fa4f5a928dc305412007a28f54d3faf5d049ca11d7d069c7260c0a
MD5 c0cbb93a1fd49240694a991eef7c8538
BLAKE2b-256 4b82d3dbab55061cc663dfadb7a456a78368f30d2dd71ccd83d08ed44169295d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page