https://hackaday.com/2019/02/21/building-a-simple-python-api-for-internet-of-things-gadgets/

BUILDING A SIMPLE PYTHON API FOR INTERNET OF THINGS GADGETS