A simple python library for the Observium API
Project description
# NS1 Observium API Python Library
A python library for interacting with the Observium API: http://docs.observium.org/api/
# Installing
```
$ pip install NsoneObservium
```
Examples
========
[see more]http://docs.observium.org/api/#get-endpoints
```
from NsoneObservium.NsoneObservium import NsoneObservium
observium = NsoneObservium('https://observium01.example.com', 'myuser', 'mypassword', ssl_verify=False)
observium.get_devices({'hostname': "mpr.myrouter"})
observium.get_devices()
observium.get_devices({'device_id': "34"})
observium.get_alerts()
observium.get_alerts({'alert_id': "234"})
```
Contributing
============
Contributions, ideas and criticisms are all welcome.
# LICENSE
GNU GPL v3 - see the included LICENSE file for more information
A python library for interacting with the Observium API: http://docs.observium.org/api/
# Installing
```
$ pip install NsoneObservium
```
Examples
========
[see more]http://docs.observium.org/api/#get-endpoints
```
from NsoneObservium.NsoneObservium import NsoneObservium
observium = NsoneObservium('https://observium01.example.com', 'myuser', 'mypassword', ssl_verify=False)
observium.get_devices({'hostname': "mpr.myrouter"})
observium.get_devices()
observium.get_devices({'device_id': "34"})
observium.get_alerts()
observium.get_alerts({'alert_id': "234"})
```
Contributing
============
Contributions, ideas and criticisms are all welcome.
# LICENSE
GNU GPL v3 - see the included LICENSE file for more information
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
Close
Hashes for NsoneObservium-1.0.1b1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f113e4da24d55618a4fa0c28dffbd3a65ea91126ff89718427f6f79a6517683 |
|
MD5 | 4e2e8bb0701673f465561b5cc848c5a0 |
|
BLAKE2b-256 | f98aebb3766e0860496896431593c1ceba5a3f890281bfc720b6fd82c51a9aab |