Python Forum

Full Version: Want to put date and time in a POST API call
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to send notifications to myself from my Raspberry Pi using Twitter and Twitter's API. The format of the tweet needs to be:

How do I make it so that the current date and time are appended to the end of the text? Any spaces need to be replaced with HTML escape codes. Thanks for any guidance.