Skip to main content

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:

    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(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_requests(brand=brand, alert_request_id=alert_request_id)
    print(api_response)

    api_response = rr.get_alert_reports()
    print(api_response)

    api_response = rr.get_alert_reports(creator_email='user@acme.com')
    print(api_response)

    api_response = rr.get_utildata(brand=brand, time_period='today')
    print(api_response)

    api_response = rr.get_utildata_stats()
    print(api_response)

    api_response = rr.get_dealers()
    print(api_response)

    api_response = rr.get_customers_and_machines(dealer_name)
    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

RockyRoad-0.0.17-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file RockyRoad-0.0.17-py3-none-any.whl.

File metadata

  • Download URL: RockyRoad-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 3.7 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

Hashes for RockyRoad-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 331aeed98b14c7ba484883317e5f870f7ce4bd80ba2a23ccaabe24aff6152260
MD5 133d5b91b12cc24cbb7ef07fef3c0281
BLAKE2b-256 c04d40f695c8f1b15740ab20956d89f7ec6a07f6a4e399c5b67ee7d90ced3555

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page