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)