Skip to content

Files

Latest commit

David TippettDavid Tippett
David Tippett
and
David Tippett
Aug 17, 2019
7452096 · Aug 17, 2019

History

History
33 lines (25 loc) · 1.29 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.29 KB

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)