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.11.tar.gz
(1.6 kB
view details)
Built Distribution
File details
Details for the file boomerang-client-0.11.tar.gz
.
File metadata
- Download URL: boomerang-client-0.11.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c11dbb9ff8594d50768c647fb619e30c288883cace1dcab76b9316e435e4d71 |
|
MD5 | 54763a1ab0d729a5b2ae3f2f42c88bc5 |
|
BLAKE2b-256 | 637a377d729fc90f2740a44f1b171217011074e3634fb618f73e408369db791a |
File details
Details for the file boomerang_client-0.11-py2-none-any.whl
.
File metadata
- Download URL: boomerang_client-0.11-py2-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccdec8c8d10ae66b24323d0ed4a772cf55df12744925e7b44ce5b681f54a6700 |
|
MD5 | 292a07947f057568a7cb7ee3ad34de39 |
|
BLAKE2b-256 | 244556288cec7b29073171a7a12e2e749bfaf87400b973edb18ee69c96eb5e47 |