Refactor and expose more information
This commit was merged in pull request #1.
This commit is contained in:
15
HomeApi/Integration/Client/AuroraClient.cs
Normal file
15
HomeApi/Integration/Client/AuroraClient.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using HomeApi.Models.Response;
|
||||
using Refit;
|
||||
|
||||
namespace HomeApi.Integration.Client;
|
||||
|
||||
public interface IAuroraClient
|
||||
{
|
||||
[Get("/v1/")]
|
||||
Task<AuroraForecastApiResponse> GetForecastAsync(
|
||||
[AliasAs("type")] string type = "all",
|
||||
[AliasAs("lat")] string latitude = "0",
|
||||
[AliasAs("long")] string longitude = "0",
|
||||
[AliasAs("forecast")] string forecast = "false",
|
||||
[AliasAs("threeday")] string threeDay = "false");
|
||||
}
|
||||
Reference in New Issue
Block a user