Console-based program that shows real-time weather using the OpenWeatherMap API
Detects user location automatically, saves last searched city and displays temperature and weather description with emojis for visual effects
- Python 3
- requests
- JSON / File I/O
- city auto-detection via IP
- live weather data
- last searched city
- emoji-based conditions display
- Make sure you have Python 3 installed
- Install the required libraries
- Get a free API key from OpenWeatherMap
- Add your API key inside the script where it says: CHAVE_API = " "
- Run the program in the terminal
Working with APIs, JSON data and persistent file storage