boomerang-client

Boomerang.io Python API client


Keywords
boomerang, io, api, rest
License
MIT
Install
pip install boomerang-client==0.11

Documentation

Boomerang.io Python API client

Installing

pip install boomerang-client

Example usage

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