Projects

WeatherGPT

weatherApp1.png

In a lighter vein, I embarked on creating "WeatherGPT," a Python application that might contend for the title of one of the most whimsically pointless projects I've ever pursued. The idea was born out of a desire to mix a bit of fun with my experimentation with the ChatGPT API, leading to an app that serves no practical purpose but to entertain its creator.

WeatherGPT operates on a simple yet amusing premise: it makes up to 50 randomly timed requests per day to the Weatherbit API, each time inquiring about the weather in a random major city. The fun begins when the retrieved weather data indicates sunny conditions in the chosen city. At this point, WeatherGPT springs into action, making a call to the ChatGPT API with a request for a joke. The received joke, regardless of its comedic value, is then dutifully stored in a text file.

Admittedly, the jokes generated by WeatherGPT aren't particularly hilarious, but that wasn't really the point. The project was a playful experiment, a way to learn more about interacting with APIs and handling data in Python. It was about the joy of creation and the insights gained from building something uniquely inconsequential.

weatherApp2.png
weatherApp3.png

03-30-24 @ 1:56:20 PM

Go Back