3 years ago
Python SDK
I'm looking at using the Python SDK to add some devices.
https://www.logicmonitor.com/support-files/rest-api-developers-guide/sdks/docs/#api-LM-addDeviceDatasourceInstance
When I go to...
1 hour ago, MrJ said:I think I figured this out, more by luck. I stumbled across this site "https://editor.swagger.io/" and I found the json file on the LM Swagger site, I popped it in there and generated a python client config. It seems to import the body now.
This is prob a better doc to follow obv you need to change the auth path but any method in swagger doc should be on here with example code using the official SDK https://github.com/logicmonitor/lm-sdk-python/blob/master/LMApi.md