From 058285f2702548ded66562d15404b2dafccc4be3 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Wed, 26 May 2021 20:05:38 -0700 Subject: [PATCH] document PIRATE_WEATHER_ENDPOINT --- README.md | 2 ++ workflow/info.plist | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 7a524f8..25cd31d 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,8 @@ Download and install the [workflow][download]. These environment variables can be [configured in Alfred][env-vars]: - `PIRATE_WEATHER_API_KEY`: Get an API key [here][pirate-weather-api-key]. +- `PIRATE_WEATHER_ENDPOINT`: Set to `api.darksky.net` to use Dark Sky (until + the API is deprecated). - `GOOGLE_API_KEY`: Get an API key [here][google-api-key]. (Used for geocoding queries. *This can be omitted if you only want the forecast for the current location*.) diff --git a/workflow/info.plist b/workflow/info.plist index 09e4e0d..48aea3f 100644 --- a/workflow/info.plist +++ b/workflow/info.plist @@ -497,6 +497,8 @@ fi readme - `PIRATE_WEATHER_API_KEY`: Get an API key [here][pirate-weather-api-key]. +- `PIRATE_WEATHER_ENDPOINT`: Set to `api.darksky.net` to use Dark Sky (until + the API is deprecated). - `GOOGLE_API_KEY`: Get an API key [here][google-api-key]. (Used for geocoding queries. *This can be omitted if you only want the forecast for the current location*.)