From 1715386fa5352dc3b543a1b089cf353e0e5f89cd Mon Sep 17 00:00:00 2001 From: Philipp Burckhardt Date: Wed, 14 Jun 2023 11:42:58 -0400 Subject: [PATCH] docs: add weather API setup instructions --- legacy/docs/weather.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 legacy/docs/weather.md diff --git a/legacy/docs/weather.md b/legacy/docs/weather.md new file mode 100644 index 00000000..9a21404f --- /dev/null +++ b/legacy/docs/weather.md @@ -0,0 +1,20 @@ +

WeatherAPI Agentic Service

+ +## Intro + +[WeatherAPI.com][weather-api] is a powerful fully managed weather and geolocation API provider that provides extensive APIs that range from the realtime and weather forecast, historical weather, Air Quality Data, Bulk Request, IP lookup, and astronomy through to sports, time zone, and geolocation. + +## Pre-requisites + +Ensure the following environment variable is set: + +- `WEATHER_API_KEY` - API key for WeatherAPI.com service + +Otherwise, you can pass it in as an argument to the `WeatherClient ` constructor. + +### How to Retrieve API Key + +1. Open https://www.weatherapi.com in your browser and click on the "Signup" button in the top right corner to create a new account or "Login" to sign in with your existing account. +2. Once you are logged in, the API key will be displayed on the dashboard at the top of the page next to the "API Key" label. You can copy it by clicking on the "Copy" button. + +[weather-api]: https://www.weatherapi.com