From c2995dac6d1c5bc661e4b5c2e89b15cde9a3a14e Mon Sep 17 00:00:00 2001 From: Hyperling Date: Fri, 25 Apr 2025 15:59:02 -0700 Subject: [PATCH] Add variables for the Open Weather config rather than holding it in the min file. --- lib/var/config.EXAMPLE.dart | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/var/config.EXAMPLE.dart b/lib/var/config.EXAMPLE.dart index 70cf7e0..f8ddd60 100644 --- a/lib/var/config.EXAMPLE.dart +++ b/lib/var/config.EXAMPLE.dart @@ -1,5 +1,15 @@ // This file needs renamed `local.dart` when implemented. +// Basic // Project-wide configuration variables for both testing and production. -const bool debug = false; +const bool debug = true; +const bool debugVerbose = false; const int limitRefreshSeconds = 60; + +// OpenWeather Constants +// Settings for how to use the OpenWeather API. +const String openWeatherProtocol = "https://"; +const String openWeatherHost = "api.openweathermap.org"; +const String openWeatherURI = "/data/2.5/forecast"; +const String openWeatherAPI = + "$openWeatherProtocol$openWeatherHost$openWeatherURI";