-
Notifications
You must be signed in to change notification settings - Fork 2
Forecast Plugin
Steven Hoelscher edited this page Jan 27, 2016
·
1 revision
Get the current weather forecast for a given location.
- plugins/forecast.py
- Forecast.io
- Register for an account in order to get an API key
- Important: You will be able to make 1,000 API requests per day free of charge. I anticipate this will be enough for 99.9% of users. If you do need to make more, enter your credit card information and you will be billed at a rate of $0.0001 per individual API request (or $1 per 10,000 requests) for any API call past the free 1,000.
Store your Forecast.io API key in config.json:
"forecast_api_key": "FORECAST_API_KEY"
/bot forecast <location>
- Get 's current weather. can be a ZIP code, a city-state pair, or even just a city (if unique).
/bot forecast
- Get current weather of last used location.
/bot forecast unit <unit>
- Set unit by which to display degrees (toggles unit for the entire hangout).
Plugin List | Developer Reference: [ Intro | Plugins | Sinks | In-built Functionality | [Configuration] (Configuration) ]