Python wrapper for the RockyRoad API
Project description
RockyRoad
This package provides a Python wrapper for the RockyRoad API.
RockyRoad is a part of the PyPi repository and can be installed via
pip install RockyRoad
export OCP_APIM_SUBSCRIPTION_KEY="INSERT_YOUR_SUBSCRIPTION_KEY"
Usage Example:
Usage Example:
from rockyroad.rockyroad import RockyRoad
rr = RockyRoad(base_url='INSERT_URL_FOR_API')
api_response = rr.get_hello_world()
print(api_response)
api_response = rr.get_alert_requests()
print(api_response)
api_response = rr.get_alert_requests_by_creator_email('user@acme.com')
print(api_response)
api_response = rr.add_alert_request(new_alert_request_json)
print(api_response)
api_response = rr.delete_alert_request(brand, alert_request_id)
print(api_response)
api_response = rr.get_alert_reports()
print(api_response)
api_response = rr.get_alert_reports_by_creator_email('user@acme.com')
print(api_response)
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file RockyRoad-0.0.16-py3-none-any.whl
.
File metadata
- Download URL: RockyRoad-0.0.16-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3a4b67b00b68a49c34ed27cce7f53718bb19e023a32f07cbe069c05bc265988 |
|
MD5 | 5ecd28a85d60e9f5e66667a4c73646a9 |
|
BLAKE2b-256 | ea9f4beb2d6bd0ebf759fa220688a6b0ce6cf55e0c5396f2e692854bb40ff6da |