Created
August 9, 2015 10:12
-
-
Save eob/d597f558890c2c05a73a to your computer and use it in GitHub Desktop.
record-poop.py
This file contains 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
def record_poop(): | |
data = { | |
"Timestamp": time.strftime("%Y-%m-%d %H:%M"), | |
"Measurement": 'Poopy Diaper' | |
} | |
requests.post(MAGIC_FORM_URL, data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment