openweather-api-node
Version:
Simple package that makes it easy to work with OpenWeather API
11 lines (10 loc) • 819 B
TypeScript
export declare const SUP_LANGS: readonly ["af", "al", "ar", "az", "bg", "ca", "cz", "da", "de", "el", "en", "eu", "fa", "fi", "fr", "gl", "he", "hi", "hr", "hu", "id", "it", "ja", "kr", "la", "lt", "mk", "no", "nl", "pl", "pt", "pt_br", "ro", "ru", "sv", "se", "sk", "sl", "sp", "es", "sr", "th", "tr", "ua", "uk", "vi", "zh_cn", "zh_tw", "zu"];
export declare const SUP_UNITS: readonly ["standard", "metric", "imperial"];
export declare const API_ENDPOINT = "https://api.openweathermap.org/";
export declare const GEO_PATH = "geo/1.0/";
export declare const DATA_PATH = "data/2.5";
export declare const DATA_3_PATH = "data/3.0";
export declare const WEATHER_PATH: string;
export declare const FORECAST_PATH: string;
export declare const ONECALL_PATH: string;
export declare const AIR_POLLUTION_PATH: string;