Why two get requests are not updating fields in thingspeak?

0 votes

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!

Nov 22, 2018 in IoT (Internet of Things) by Shubham
• 13,290 points
112 views

1 answer to this question.

0 votes

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.

answered Nov 22, 2018 by Upasana
• 8,530 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

Faster communication between two ESP8266 in client-server setup

Try following. Server loop void loop() { // ...READ MORE

answered Jul 13, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
939 views
0 votes
1 answer

How to get Unicast, Dns and Gateway Address in UWP?

Try this code Snippet I found here: https://social.msdn.microsoft.com/Forums/en-US/27a8b7a8-8071-4bc1-bbd4-e7c1fc2bd8d7/windows-10-iot-core-how-do-you-create-a-tcp-server-and-client?forum=WindowsIoT ...READ MORE

answered Jul 17, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
123 views
0 votes
1 answer

Detecting BLE beacons that are not ibeacons on IOS

You'll have to understand that CoreLocation is ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,060 points
37 views
0 votes
1 answer
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 169 views
0 votes
1 answer
0 votes
1 answer

What is the time taken by a 200 byte message for transmission in a beacon-enabled network?

Now, data rates of IEEE 802.15.4 are ...READ MORE

answered Aug 23, 2018 in IoT (Internet of Things) by Upasana
• 8,530 points
37 views