LogicMonitor v3 SDK
Last updated on 20 September, 2023LogicMonitor supports Python and Go SDK for REST API v3. You can use these SDKs to efficiently interact with v3 APIs and build API-based integrations and workflow processes.
Note:
- For Python SDKs, the REQUEST parameters can contain camelCase or an underscore.
- Both underscore and camelCase are supported if parameters are encapsulated within the body.
- Only camelCase is supported if parameters are encapsulated within the body and also if the user is passing raw JSON as REQUEST parameter. However, the RESPONSE parameters always contain an underscore. For example, you can use testLocation or test_location in the REQUEST parameter. But the RESPONSE parameter will always be test_location.
- The fields parameter only supports camelCase.
Downloading the SDK
You can download Python SDK via pip:
pip install logicmonitor-sdk
Alternatively, you can also download the compressed tar file of the Python and Go SDK. The SDKs are also available via LogicMonitor’s GitHub.
Using the SDK
The Python and Go SDKs are auto-generated using Swagger Codegen. Detailed documentation with additional examples for the SDK is available here.