Plugin AccuW

From VoxCommando
Jump to: navigation, search

Go to the main Plugins page.

Go to the complete Plugin List.


Plugin Description

Gets weather from the Weather Underground. Powerful formatting options are available.

Actions for the AccuW plugin

Change

AccuW.Change
Call this action when you need to change the location, language, or system of units (Metric or Imperial) to something other than the default values.

  • Parameters: 0-3
  1. Location : Location to retrieve weather for. [string]
  2. Language : See plugin settings for codes. [string]
  3. Units : Metric or Imperial [string]

GetCurrent

AccuW.GetCurrent
Gets current weather.

GetCustom

AccuW.GetCustom
e.g. Current conditions: {D0.conditions} and {c.temp} degrees.
See plugin settings for more examples.

  • Parameters: 1
  1. Format : The format of the text response [']

GetForecast

AccuW.GetForecast
<Format> determines which format string to use as set in the plugin settings.

If you want more control you can use AccuW.GetCustom and specify the format directly.

  • Parameters: 1
  1. Format : 0-2 What format string to use [integer]