Skip to content

Latest commit

 

History

History
61 lines (39 loc) · 1.76 KB

README.md

File metadata and controls

61 lines (39 loc) · 1.76 KB

AccuWeather Slash Command

Adds a slash command that returns the current weather for a given location.

Uses the AccuWeather API. Requires a free API key.

Getting API Key

  1. Register on the AccuWeather developer portal.
  2. Then create an app and get the API key.

It's free for 50 calls per day.

Installation

Install using SillyTavern's extension installer from the URL:

https://github.com/SillyTavern/Extension-AccuWeather

Usage

Get current weather

/weather <location>

Available arguments:

  • units - metric or imperial
  • condition - the result should include the weather condition, e.g. "Clear". The default is true.
  • temperature - the result should include the temperature. The default is true.
  • feelslike - the result should include the "feels like" temperature. The default is false. Only works if temperature is true.
  • humidity - the result should include the humidity. The default is false.
  • wind - the result should include the wind speed and direction. The default is false.
  • pressure - the result should include the pressure. The default is false.
  • visibility - the result should include the visibility. The default is false.
  • uvindex - the result should include the UV index. The default is false.
  • precipitation - the result should include the precipitation. The default is false.

Get weather forecast

/forecast <location>

Available arguments:

  • units - metric or imperial

Examples

/weather units=metric condition=true temperature=true feelslike=true humidity=true wind=true pressure=true visibility=true uvindex=true precipitation=true London, UK
/forecast units=imperial Tampa, FL

License

AGPL-3.0