To get started with this script, you need to:
Go to weatherapi.com and create an account to obtain your API key.
Once you have the API key, follow these steps:
- Navigate to the
config.luafile in the project. - Paste your API key into the appropriate section, like so:
Config.API_KEY = "API_KEY_HERE"- Set the location in the
config.luafile as well to your liking.
- Every minute the server will do a request to the API to get the latest weather information from the location you set.