summaryrefslogtreecommitdiff
path: root/secrets.lua
blob: e110fe562d9212ad1f058b83b7a6051f4661ab23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-------------------------------------------------
-- Allows to store client specific settings in one place
--
-- @author Pavel Makhov
-- @copyright 2019 Pavel Makhov
--------------------------------------------

local secrets = {
    -- Yandex.Translate API key - https://tech.yandex.com/translate/
    translate_widget_api_key = os.getenv('AWW_TRANSLATE_API_KEY') or 'API_KEY',

    -- OpenWeatherMap API key - https://openweathermap.org/appid
    weather_widget_api_key = os.getenv('AWW_WEATHER_API_KEY') or 'c3d7320b359da4e48c2d682a04076576',
    weather_widget_city = os.getenv('AWW_WEATHER_CITY') or 'Montreal,ca',
    weather_widget_units = os.getenv('AWW_WEATHER_UNITS') or 'metric' -- for celsius, or 'imperial' for fahrenheit
}

return secrets