Skip to main content
PyCon US is happening May 14th-22nd in Pittsburgh, PA USA.  Learn more

Scalr REST API Python Wrapper

Project description

https://badge.fury.io/py/scalr-api.svg https://img.shields.io/pypi/l/scalr-api.svg https://api.codacy.com/project/badge/Grade/c73aa1a661124abc95af293cbd4a2743

Install

$ pip install scalr-api

Examples

Here is an example of how to delete a Scalr role:

from scalr import ScalrUserAPI

scalr = ScalrUserAPI(
            url='https://your-scalr-host/',
            key_id='your_scalr_key_id',
            secret_key='your_scalr_secret_key',
            env_id=your_scalr_environment_id
        )

scalr.role_delete(role_id=your_role_id)

Credits

  • Scalr for providing examples on how to use Scalr API v2.

Supported by

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