Skip to main content

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scalr-api-1.0.1.tar.gz (5.9 kB view hashes)

Uploaded Source

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