Skip to main content

CA Spectrum Web Services API wrapper

Project description

spectrum-client

image image image


CA Spectrum Web Services API wrapper

Instalation

spectrum-client is distributed on PyPI and is available on Linux/macOS and Windows and supports Python 3.6+.

$ pip install -U spectrum-client

Usage

from spectrum_client import Spectrum

spectrum = Spectrum('http://oneclick.mydomain:8080', 'myuser', 'secret')

# Update a model attribute
spectrum.update_attribute(0x210afa,0x10024,'MySNMPSecret')

If not provided, server and credentials will be read from the environment variables SPECTRUM_URL, SPECTRUM_USERNAME, SPECTRUM_PASSWORD.

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

spectrum-client-0.0.8.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

spectrum_client-0.0.8-py3-none-any.whl (3.3 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