Skip to main content

Boomerang.io Python API client

Project description

Boomerang.io Python API client
==============

Installing
______________

.. code:: python

pip install boomerang-client

Example usage
--------------

.. code:: python

import calendar
import datetime
from boomerang.client import BoomerangClient

bc = BoomerangClient(<projectid>, <apikey>)

future = datetime.datetime.utcnow() + datetime.timedelta(minutes=5)
date = calendar.timegm(future.timetuple())
params = { "url": "http://theurl.com", "msg": "the message", "run_at": date }

print bc.create_boomerang(params).text
print bc.get_all_boomerangs().text

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 boomerang-client, version 0.11
Filename, size File type Python version Upload date Hashes
Filename, size boomerang_client-0.11-py2-none-any.whl (2.8 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size boomerang-client-0.11.tar.gz (1.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page