Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.4.0/src/util.ts";

Get current weather.

Parameters

locationName: string

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

optional
jsonOutput = [UNSUPPORTED]