cumulocity-python-api icon indicating copy to clipboard operation
cumulocity-python-api copied to clipboard

Python client for the Cumulocity REST API. Created by Global Competency Center IoT

Results 7 cumulocity-python-api issues
Sort by recently updated
recently updated
newest added

Method .add_child_device() should be removed from DeviceGroup, as DeviceGroup uses .add_child_asset() to associate a device with the group. Using DeviceGroup.add_child_device() for this purpose is very confusing and the results seems...

`def getOperation(): bos = c8y.bulk_operations.select(limit=3) for bo in bos: print(bo.status)` Hi Chris, Hope you are well! when I tried to run the above code to get "Bulk Operation" from Cumulocity,...

Create a small patch to automatically read the application key from the standard APPLICATION_KEY variable if available.

At the moment the only documentation for the samples here: https://github.com/Cumulocity-IoT/cumulocity-python-api/tree/main/samples is the name of the Python file and the inline comments. It would be good to either have Markdown...

documentation

``` # does not work # tenant_options = self.c8yapp.get_tenant_instance(headers=request_headers).tenant_options.get_all(category=self.ANALYTICS_MANAGEMENT_REPOSITORIES) # works response = self.c8yapp.get_tenant_instance(headers=request_headers).get( resource=f"{self.PATH_TENANT_OPTIONS}/{self.ANALYTICS_MANAGEMENT_REPOSITORIES}") tenant_options = response ```

bug

Fix incorrect type annotation for the `datetime` property on the measurement and operation classes. The previous code was incorrectly return a "type of a datetime" instead of an instance of...

The readthedocs documentation at https://cumulocity-python-api.readthedocs.io/ lacks a documentation of the toolkit module (c8y_tk).