Skip to main content

Wrapper for the airgram api

Project description

A python wrapper for making calls to the Airgram API, which enables you to send push notifications to your mobile devices.

Since it is a very shallow wrapper, you can refer to the official api reference for details on the functions.


At the time of writing (2015-08-20) airgram is using wrong certificates (see), which are intended for Because of this cert verification needs to be turned off.

Using as a guest

from airgram import Airgram

ag = Airgram(verify_certs=False)

# Send a message to a user
ag.send_as_guest("", "Test message from Airgram API", "")

Using with an authenticated airgram service

from airgram import Airgram

ag = Airgram(key="MY_SERVICE_KEY", secret="MY_SERVICE_SECRET", verify_certs=False)

# Subscribe an email to the service

# Send a message to a subscriber
ag.send("", "Hello, how are you?")

# Send a message to ALL subscribers
ag.broadcast("Airgram for python is awesome", url="")


0.1.3 (2015-08-25)


  • added (fix install problem)

0.1.2 (2015-08-21)


  • Correct wrong api url

0.1.1 (2015-08-21)

  • Add module logger
  • Add class logger
  • Functions throw AirgramException on failure

0.1.0 (2015-07-30)

  • First release on PyPI.

Project details

Download files

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

Files for airgram, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size airgram-0.1.3-py2.py3-none-any.whl (5.2 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size airgram-0.1.3.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page