yrts
v1.0.1
Published
> Typescript library for the [yr.no api](https://www.yr.no/nb)
Downloads
3
Readme
yrts
Typescript library for the yr.no api
Install
npm install yrtsUsage
import { YRClient } from 'yrts';
// locations
await client.searchLocations('stockholm');
// forecast
await client.getForecast('2-2673730');
// forecast currentHour
await client.getForecastCurrentHour('2-2673730');