To use Adafruit IO with a Python program you can install and use the Adafruit io-client-python code from Github. This library can use both the REST API and MQTT API to access feeds and data on Adafruit IO.
The library readme shown on GitHub describes how to install and use the library. Be sure to also see the examples included with the library.
Text editor powered by tinymce.