Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

DexterHaslem/did-it-rain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

did it rain

This is a simple script to see how much it rained in the the past few days if you are too lazy to go put a cup outside or something.

setup

runs on Python 2.7+. Install python deps with

pip install -r requirements.txt

Get a darksky API key for free here and place the key in a file called darksky.key

Running

$ python main.py --lat 39.601 --long -105.092 --days 5
in the last 5 days, there was 0.02 total mm/h, (0.0 inch/h) of rain for location (39.601:-105.092)
$
  • lat: latitude of location to pull weather for
  • long: longitude of location to pull weather for
  • days: number of days back to sum rainfall for

About

too lazy to put a cup outside?

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages