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.

6 lines
253 B

  1. source api-keys-fish.sh
  2. # IBM
  3. set curl_url "https://api.darksky.net/forecast/$DARK_SKY_KEY/43.8180904,-79.3350555?exclude=minutely%2Cdaily%2Calerts%2Cflags&units=auto"
  4. curl --request GET --url $curl_url > dark-sky.json
  5. node dark-sky.js > dark-sky.txt