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 details)

Uploaded Source

File details

Details for the file scalr-api-1.0.1.tar.gz.

File metadata

  • Download URL: scalr-api-1.0.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.4.0 requests-toolbelt/0.8.0 tqdm/4.45.0 CPython/2.7.17

File hashes

Hashes for scalr-api-1.0.1.tar.gz
Algorithm Hash digest
SHA256 749997741abe65a4488ad955daea9924060df57a3e7407b846b211aeae303bb9
MD5 0d469677a712d812eae157988bf4f4fe
BLAKE2b-256 eea63f730636eba6dd7cf1d1b6812913a193d6862decdd5f7666d1afdfd782ad

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