How to write simple test data using ThingSpeak's REST API of ThingSpeak.
We will use for our examples the module urllib.request to send simple HTTP GET requests.
- Set up the hardware, connect it to your computer via USB or ssh.
- Copy the content of thingspeak_http.py to your Pi.
- Update
writeAPIKey
with your Write API Key. - Run example from the command line with
python3 thingspeak_http.py
- Raspberry Pi Zero W controller.