Type Alias OpenWeatherV2CommonOptions

OpenWeatherV2CommonOptions: {
    lang: LangCode;
    units: "standard" | "metric" | "imperial";
}

Open Weather V2 API Common Options

Type declaration

  • lang: LangCode

    Language code

  • units: "standard" | "metric" | "imperial"

    Weather units

{lang: 'en', units: 'standard'} in API
{lang: 'fi', units: 'metric'}

v0.0.1