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.

Source Distribution

boomerang-client-0.11.tar.gz (1.6 kB view hashes)

Uploaded Source

Built Distribution

boomerang_client-0.11-py2-none-any.whl (2.8 kB view hashes)

Uploaded Python 2

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