Python | Tkinter | Requests | OpenWeatherMap-API |
You can search whatever city you want and get the weather details of it. The request is pulled in .json format. API used is- openweathermap.org. The fentched details will be showned in the below area.
Note: Here, you need to create your own API Id key on one of the variable else there will be an error. Create account to: Openweathermap.org site and you are free to use GUI.
1. You need API key else there will be ID Error.(This Error Will be showned inside label. Program will be Executed)
2. Internet Connection Error: Fentching the request must require Internet connection else there will be error.
3. City Name Error: If the City name is incorrect or it might be a village then there is a chance of getting error.
4. PhotoImage Error: Paste full path (dir) of the bg1.jpg image to overcome this error.