dtaivpp / CSI_API

This is an open source SDK for accessing the Virtual Observer API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status BCH compliance License: MIT PyPi version

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.

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)  

About

This is an open source SDK for accessing the Virtual Observer API

License:MIT License


Languages

Language:Python 97.9%Language:Shell 2.1%