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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

NsoneObservium-1.0.1b1-py2.py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 2 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