We are about to create a Python program to integrate with a service called dweet.io. This is how their website describes the service: "it's like Twitter for social machines."
We will create simple dweets, which are the dweet.io equivalent of a tweet, by pasting a URL into a web browser.
Our program will monitor and receive our dweets by polling a dweet.io RESTful API endpoint for data. As data is received, it will be parsed to find an instruction specifying whether our LED should be turned on or off or made to blink. Based on this instruction, our LED state will be changed using the GPIOZero library. We'll have a look at data format received from dweet.io when we discuss the program's code in a subsequent section titled Understanding the server code.