Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dtaivpp/csi_api
This is an open source SDK for accessing the Virtual Observer API
https://github.com/dtaivpp/csi_api
csi csi-api open-source virtual-observer
Last synced: 5 days ago
JSON representation
This is an open source SDK for accessing the Virtual Observer API
- Host: GitHub
- URL: https://github.com/dtaivpp/csi_api
- Owner: dtaivpp
- License: mit
- Created: 2019-08-06T15:25:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:01:41.000Z (almost 2 years ago)
- Last Synced: 2024-09-30T09:11:14.570Z (about 2 months ago)
- Topics: csi, csi-api, open-source, virtual-observer
- Language: Python
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.com/dtaivpp/CSI_API.svg?branch=master)](https://travis-ci.com/dtaivpp/CSI_API)
[![BCH compliance](https://bettercodehub.com/edge/badge/dtaivpp/CSI_API?branch=master)](https://bettercodehub.com/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![PyPi version](https://pypip.in/v/csi-tai/badge.png)](https://pypi.org/project/csi-tai/)# Using the CSI API Library
Please note this module was created in order to simplify bulk data pulling from the Virtual Observer API. This project is in no way affiliated with [CSI World / Virtual Observer](https://www.csiworld.com).
## Getting Started
To get started install the requests module using the following command.
`python -m pip install csi-tai`
Basic Get Useage:
```
baseURL = "https://cloud.csiworld.com/VOWebAPI/v5"
csi = CsiConnector(token, baseURL)
params = {'filter': 'f.FName|o.eq|v.Tippett',
'fields': 'FName, LName',
'perpage':100}
data = csi.query(Endpoints.AgentInfo, params)
```Basic Post Useage:
```
baseURL = "https://cloud.csiworld.com/VOWebAPI/v5"
csi = CsiConnector(token, baseURL)
data = {'User': 'jsmith', 'Function': 'Pause'}
csi.query(Endpoints.lightstout, data)
```