Weather
Simple Weather API client for accessing weather data based on location.
- package:
@deepagent/weather
- exports:
class WeatherClient
,namespace weather
- env vars:
WEATHER_API_KEY
- source
- weatherapi.com api docs
Install
npm install @deepagent/weather
yarn add @deepagent/weather
pnpm add @deepagent/weather
Usage
import { WeatherClient } from '@deepagent/weather'
const weather = new WeatherClient()
const res = await weather.getCurrentWeather('new york')