The Python3 SDK project for visionLive API
API Explorer: http://api.visioninternet.com/
API Document: http://api.visioninternet.com/Document
# pip3 install -e git+https://github.com/Granicus/visionLiveSDK-Python3.git#egg=visionLiveSDK3
# pip3 uninstall visionLiveSDK3
from visionLiveSDK3 import apiClient
from visionLiveSDK3.apiClient import ApiClient
appSecret = '{Your App Secret}'
appKey='{Your App Key}'
client = ApiClient('https://www.city.gov/API',appKey, appSecret)
# vision.cms.calendarcomponent.event.get is the API Name
eventResult = client.vision.cms.calendarcomponent.event.get(Fields=1, ID=3754)
dictEventResult = apiClient._O(dict(eventResult))
print(dictEventResult.Event.StartDate)
# vision.cms.core.system.content.get is the API Name
eventResult = client.vision.cms.core.system.content.get(Fields=1, ID=3754, ContentTypeName='Event')
dictEventResult = apiClient._O(dict(eventResult))
print(dictEventResult.Content.StartDate)