Skip to main content

Weather.com CLI

Project description

WeatherCLI

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

Installatoin

Install via PIP pip install weathercli

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' )

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wethr, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size wethr-0.0.1-py3-none-any.whl (4.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size wethr-0.0.1.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page