cumulocityr-package: Client for the Cumulocity API

cumulocityr-packageR Documentation

Client for the Cumulocity API

Description

Access the 'Cumulocity' API and retrieve data on devices, measurements, and events.

Functions

  • get_devices returns available devices for a tenant.

  • get_measurements returns measurements for a device.

  • get_events returns events for a device.

Authentication

The package expects a local .Renviron file with credentials defined as follows:

CUMULOCITY_base_url = "[tenant url]"
CUMULOCITY_usr = "[username]"
CUMULOCITY_pwd = "[password]"

The tenant url should be of the form "https://tenant_name.cumulocity.com".

.Renviron can be edited with usethis::edit_r_environ().

Other considerations

Time should be in the following format: "YYYY-MM-DDTHH:MM:SSZ"

References

Author(s)

Maintainer: Dmitriy Bolotov dmitriy.bolotov@softwareag.com

Other contributors:

  • Software AG [copyright holder]

See Also

Useful links:


SoftwareAG/cumulocityr documentation built on Sept. 19, 2023, 11:46 a.m.