widget.weather: remove invalid default API key; wiki updated; closes #493

This commit is contained in:
Luca Capezzuto 2021-03-15 18:43:43 +01:00
parent 21c0d157ac
commit 3d4bb0b1d3
No known key found for this signature in database
GPG Key ID: 4E53F7C0EC846979
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ local function factory(args)
args = args or {}
local weather = { widget = args.widget or wibox.widget.textbox() }
local APPID = args.APPID or "3e321f9414eaedbfab34983bda77a66e" -- lain's default
local APPID = args.APPID -- mandatory
local timeout = args.timeout or 60 * 15 -- 15 min
local current_call = args.current_call or "curl -s 'https://api.openweathermap.org/data/2.5/weather?id=%s&units=%s&lang=%s&APPID=%s'"
local forecast_call = args.forecast_call or "curl -s 'https://api.openweathermap.org/data/2.5/forecast?id=%s&units=%s&lang=%s&APPID=%s'"

2
wiki

@ -1 +1 @@
Subproject commit ddc6aa0649d4fd091c1a73784d0507feb86eaf5f
Subproject commit 876a5a1d50f0306148c55d86937fd2f1d7b174ac