Skip to main content
Module

x/dyr/mod.ts>getCurrent

Access Yr's weather API and Nominatim's API with Deno
Go to Latest
function getCurrent
import { getCurrent } from "https://deno.land/x/dyr@v2.0.1/mod.ts";

Get current weather.

Parameters

locationName: string

Name of the location, can be village, city etc.

Returns

Promise<TimeseriesMinified>

Current weather