Skip to content

Instantly share code, notes, and snippets.

@vi3k6i5
Created December 11, 2016 18:34
Show Gist options
  • Save vi3k6i5/5099e4fceeb4bff5eb0b35f7d5b7e298 to your computer and use it in GitHub Desktop.
Save vi3k6i5/5099e4fceeb4bff5eb0b35f7d5b7e298 to your computer and use it in GitHub Desktop.
thingspeak api call example
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