2

A single run cannot update two or more get request to my thingspeak fields. My code has a part which requires two fields to get updated in one python program. Like..,

urlopen("https://api.thingspeak.com/update?api_key=D------MQV&field1=5")
urlopen("https://api.thingspeak.com/update?api_key=D------MQV&field2=10")

Only field1 gets updated with the above example. Thanks!

1 Answers1

1

You can update up to 8 fields at once in one request.

urlopen("https://api.thingspeak.com/update?api_key=D------MQV&field1=5&field2=10")

The reason why two back-to-back requests do not work is that ThingSpeak has a 15-second rate limit on free accounts.

iohans
  • 838
  • 1
  • 7
  • 15