Skip to content

This program will use OpenWeatherMap One Call API and obtain the weather data for a city of your choice.

License

Notifications You must be signed in to change notification settings

Seeker3000/OpenWeatherMap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

OpenWeatherMap

pic

Description

Program: Python_open_weather_map_API.py

Author: D. Damian

This program will use OpenWeatherMap One Call API and obtain the weather data for a city of your choice. It will print the result in the shell.

Used tools

  • Python 3.8.2
  • IDLE

Installation and usage

  1. Create a free account and get a free API key from https://openweathermap.org/api
  2. Clone the python script to your local machine using git clone https://github.com/Seeker3000/OpenWeatherMap
  3. Open the file "Python_open_weather_map_API.py" with your favorite file editor and place the key in the appid_private = "your key"
  4. Save and close the file.
  5. Get the list of cities by downloading the json file city.list.json.gz from http://bulk.openweathermap.org/sample/
  6. Extract it in the same folder as "Python_open_weather_map_API.py"
  7. Run the "Python_open_weather_map_API.py" with your favorite command line tool (like IDLE or command shell)

Contribution

Stars and forks are welcomed :)

Cheers!

License

Python_open_weather_map_API Copyright © 2020 Seeker3000

About

This program will use OpenWeatherMap One Call API and obtain the weather data for a city of your choice.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages