public string GenerateAlertsRequestLink(CoordinatesJson coordinates) { return($"onecall?lat={coordinates.Latitude}&lon={coordinates.Longitude}&exclude=current,minutely,hourly,daily&units=metric&appid={_apiKey}"); }
public string GenerateAirPollutionRequestLink(CoordinatesJson coordinates, DateTime startDate, DateTime endDate) { return($"air_pollution/history?lat={coordinates.Latitude}&lon={coordinates.Longitude}&start={DateTimeToUnixTimeStampConverter(startDate)}&end={DateTimeToUnixTimeStampConverter(endDate)}&units=metric&appid={_apiKey}"); }