Created
December 11, 2016 18:34
-
-
Save vi3k6i5/5099e4fceeb4bff5eb0b35f7d5b7e298 to your computer and use it in GitHub Desktop.
thingspeak api call example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
resp = requests.post('https://api.thingspeak.com/update.json', | |
json={"api_key"="XXXXXXXXXXXXXXXX", | |
"field1"=73, | |
"field2"=66}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment