Cumulocity-IoT / cumulocity-python-api

Python client for the Cumulocity REST API. Created by Global Competency Center IoT
Apache License 2.0
18 stars 13 forks source link

Create simple_agent.py #13

Closed nickponomar closed 2 years ago

nickponomar commented 2 years ago

A sample code for an agent with Python api

chisou commented 2 years ago

@nickpnmrv, thanks for this nice addition! Could you rewrite this so that it uses environment variables instead of configuration files or hardcoded values? The dotenv library is quite useful for that and already listed as a requirement. See the other samples for reference.