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
==============
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
Release history Release notifications | RSS feed
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.1.tar.gz
(1.6 kB
view hashes)
Built Distribution
Close
Hashes for boomerang_client-0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65ef76343f5a876cbb41783b9c03c34265dab973777333577bb1c9744d2f9660 |
|
MD5 | e3ece09a0479aff2f04bca2e0e61836b |
|
BLAKE2b-256 | 716a099d69229000a4d317aaaaa597131e3145867d6e713e8d8a955efeef94fb |