Created a sloppy api for home weather

This commit is contained in:
2025-07-10 00:52:55 +02:00
commit 2778c9d348
23 changed files with 808 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
namespace HomeApi;
public class ApiConfiguration
{
public Keys Keys { get; set; } = new();
public BaseUrls BaseUrls { get; set; } = new();
public string DefaultCity { get; set; } = "Vega stockholms lan";
}
public class BaseUrls
{
public string Weather { get; set; } = string.Empty;
public string SL { get; set; } = string.Empty;
}
public class Keys
{
public string Weather { get; set; } = string.Empty;
public string SL { get; set; } = string.Empty;
}