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 build

    service = build(base_url='INSERT_URL_FOR_API')

    api_response = service.helloWorld().list()
    print(api_response)

    api_response = service.alerts().requests().list()
    print(api_response)

    api_response = service.alerts().requests().list(creator_email='user@acme.com')
    print(api_response)

    api_response = service.alerts().requests().insert(new_alert_request_json)
    print(api_response)

    api_response = service.alerts().requests().delete(brand=brand, alert_request_id=alert_request_id)
    print(api_response)

    api_response = service.alerts().reports().list()
    print(api_response)

    api_response = service.alerts().reports().list(creator_email='user@acme.com')
    print(api_response)

    api_response = service.machines().utilData().list(brand=brand, time_period='today')
    print(api_response)

    api_response = service.machines().utilData().stats().list()
    print(api_response)

    api_response = service.dealers().list()
    print(api_response)

    api_response = service.customers().list(dealer_name=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.20-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

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