FastAPI : Create your own API endpoint - Part 1

Background Ever since I can remember, I've been fascinated with the idea of developing an IoT device capable of responding to my inquiries whenever I seek specific information. Initially, I was under the impression that establishing an API endpoint or server would be a highly complex task, possibly beyond my current skill set. However, I've discovered that this assumption was misplaced. The process is not as daunting as I had imagined.