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 py2

Supported by

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