Skip to content

Web Scraping tool and a Command Line Interface for Weather.com

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt
Notifications You must be signed in to change notification settings

Abinash-Sinha/weathercli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeatherCLI

Web Scraping tool and a Command Line Interface for Weather.com

Installation

Install via PIP pip install wethr

or

Git Clone using git clone https://github.com/AbinashSinha/weathercli

Usage

Name of the City/Place -p PLACE, --place

Date -d DATE, --date [default : Current Time]

Type of Forecast:

1 : Daily, 2 : Hourly,3 : 5-Days, 4: 10-Days, 5: Weekend, 6 : Monthly.

-t TYPE, --type [Default: 1: Daily]

weather -p Bhopal -t 3

weather -p Bhopal -t 2

weather -p Bhopal -d 12/03/19

API

Return a JSON file

usage: from weathercli import Weather

Weather(place='Bhopal')

Weather(palce='Bhoapl',date='20/03/19')

Weather(place='Bhopal,typeof='2' )

About

Web Scraping tool and a Command Line Interface for Weather.com

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages