Created Settings (markdown)

Ben Phelps
2022-09-05 20:17:05 +03:00
parent 70a7af44a6
commit ff825cd928

23
Settings.md Normal file

@@ -0,0 +1,23 @@
# Configuration
The `settings.yaml` file allows you to define application level options.
## Providers
The `providers` section allows you to define shared API provider options and secrets. Currently this allows you to define your weather API keys in secret.
```yaml
providers:
openweathermap: openweathermapapikey
weatherapi: weatherapiapikey
```
You can then pass `provider` instead of `apiKey` in your widget configuration.
```yaml
- weather:
latitude: 50.449684
longitude: 30.525026
provider: weatherapi
```