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.

Filename, size & hash SHA256 hash help File type Python version Upload date
boomerang_client-0.11-py2-none-any.whl (2.8 kB) Copy SHA256 hash SHA256 Wheel py2
boomerang-client-0.11.tar.gz (1.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page