Enum OpenWeatherService
- Namespace
- SimpleWeather
- Assembly
- SimpleWeather.dll
Selects the service for one controller independently of its API key.
public enum OpenWeatherService
Fields
Automatic = 0Prefer 3.0, then 4.0, then free endpoints when access is denied.
Free = 3Use free current-weather and five-day forecast endpoints only.
OneCall3 = 1Use One Call 3.0 only, with no fallback.
OneCall4 = 2Use One Call 4.0 only, with no fallback.