# Interface WeatherProviderRegistry

interface WeatherProviderRegistry {
registerWeatherProvider: (provider: WeatherProvider) => void;
weatherApi: WeatherApi;
}

#### Hierarchy

- WeatherProviderRegistry
  - ServerAPI

- Defined in weatherapi.ts:112

##### Index

### Weather API

registerWeatherProvider
weatherApi

## Weather API

### registerWeatherProvider

registerWeatherProvider: (provider: WeatherProvider) => void

Used by Weather Provider plugins to register the weather service from which the data is sourced. See `Weather Provider Plugins` for details.

- Defined in weatherapi.ts:119

### weatherApi

weatherApi: WeatherApi

Access the Weather API to get observations, forcasts and warnings.

- Defined in weatherapi.ts:125