Example of python code accessing Grafana cloud?

Hello,
I am very new to collecting data and graphing it. I have a python script running on debian that captures temperature and humidity and saves it to a file. Do you have an example python script that I can look at on how to use Grafana cloud to present that information? Thank you very much!

So send data to Grafana Cloud’s Hosted Metrics service you need to sign up for Hosted metrics:
https://grafana.com/cloud/metrics

It’s currently only for high volume usage cases.