Skip to content
/ owm Public

A Open Weather Map script which provides you with the weather forecast of any city across the world.

Notifications You must be signed in to change notification settings

ronishz/owm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

owm

Script which gives weather information about any city across the world.

Introduction-

This is a simple script to get the details about weather in your city. This script is based on openWeatherMap(OWM) api. You don't need to generate the api key as I've already done it and added it in the script.

Installation- Firstly you need to have >=Python 2.7 installed on your system. Then you need a wrapper for owm. The library which acts as a wrapper for owm is "requests" which helps you to connect to owm. That's the reason I've imported requests in my code.

How to run- 1.clone/download the owm repository.

git clone https://www.github.com/ronishz/owm.git

2.cd to the "owm" repository

3.run the owm1.py script

python owm1.py

4.Enter the name of the city for which you want the weather information.

5.You'll get the complete information about the current date's weather based on timespan of every 3hrs.

Note: Both owm.py and owm1.py should be in the same repository. Also a output file output.txt will be generated in the same directory. So that you can refer to it later as well.

Thankyou!

Contact- Ronish R Zadode

[email protected]

About

A Open Weather Map script which provides you with the weather forecast of any city across the world.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages