Created a sloppy api for home weather
This commit is contained in:
20
HomeApi/Models/ApiConfiguration.cs
Normal file
20
HomeApi/Models/ApiConfiguration.cs
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user