For the Node-Red programming environment, TeamViewer provides a plugin that can be used to interact with TeamViewer IoT Agent.
The plugin enables advanced users to create sensors/metrics and to push data to the TeamViewer IoT Cloud. The plugin is available at the Node-Red Flows and can be installed directly from the Node-Red environment.
See: