Table of Contents

Enum OpenWeatherService

Namespace
SimpleWeather
Assembly
SimpleWeather.dll

Selects the service for one controller independently of its API key.

public enum OpenWeatherService

Fields

Automatic = 0

Prefer 3.0, then 4.0, then free endpoints when access is denied.

Free = 3

Use free current-weather and five-day forecast endpoints only.

OneCall3 = 1

Use One Call 3.0 only, with no fallback.

OneCall4 = 2

Use One Call 4.0 only, with no fallback.