I already did this project once using C and the Arduino IDE . This is an scaled down version using Micropython.  The main difference is the wifi credentials and api keys are stored in the codebase, there's no 'nagging' feature, and there is no power management.