Skip to content

SimonNChrist/API-weather-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API weather

Console-based program that shows real-time weather using the OpenWeatherMap API

about

Detects user location automatically, saves last searched city and displays temperature and weather description with emojis for visual effects

technologies used

  • Python 3
  • requests
  • JSON / File I/O

features

  • city auto-detection via IP
  • live weather data
  • last searched city
  • emoji-based conditions display

how to run

  1. Make sure you have Python 3 installed
  2. Install the required libraries
  3. Get a free API key from OpenWeatherMap
  4. Add your API key inside the script where it says: CHAVE_API = " "
  5. Run the program in the terminal

what I learned

Working with APIs, JSON data and persistent file storage

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages