Fetch local weather from Dark Sky API.
https://wthr.ml/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
286 B
7 lines
286 B
source api-keys-fish.sh
|
|
# IBM
|
|
set curl_url "https://api.darksky.net/forecast/$DARK_SKY_KEY/43.8180904,-79.3350555?exclude=minutely%2Cdaily%2Calerts%2Cflags&units=auto"
|
|
|
|
curl --request GET --url $curl_url > dark-sky.json
|
|
node dark-sky.js > dark-sky.csv
|
|
./csv-to-html.sh > dark-sky.html
|