Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dyr/src/util.ts>getCurrentWeather

Access Yr's weather API and Nominatim's API with Deno
Go to Latest
function getCurrentWeather
import { getCurrentWeather } from "https://deno.land/x/dyr@v1.3.4/src/util.ts";

Get current weather.

Parameters

locationName: string

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

optional
verbose = [UNSUPPORTED]

Level of detail in the response.