Skip to main content

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




Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
NsoneObservium-1.0.1b1-py2.py3-none-any.whl (6.0 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Aug 6, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page