Web Services

Blocks can be set up to access services from the world wide web.  The following web services are currently available:

WSExchangeRate

The WSExchangeRate service allows you to obtain the current exchange rate between two currencies.  The exchange rate service required the parameters FROM and TO.  The FROM currency is the currency in which the conversion amount has been entered to be converted, and the TO currency is the currency to which the amount is being converted.  The following option is available for Method.

getRate

Returns a row of basic header information for the from and to currencies provided.  The fields for this block will be FROM, TO, and RATE.

WSManager

The WSManager service allows you to manage the web services.  No parameters are necessary.  The getWebServices method is available.

WSWeather

The WSWeather service allows you to obtain weather information in the block.  The weather service requires the parameter ZIPCODE, which is the zip code of the area for which you wish to obtain the weather information.  The following options are available for Method.

getHeader

Returns a row of basic header information for the zip code provided.  The fields for this block will be CITY, ZIPCODE, TIME, TEMP, SUNRISE, and SUNSET.

getForecast

Returns multiple rows containing each day's forecast information for the zip code provided.  The fields for this block will be DAY, ABBREV, HIGH, LOW, and FORECAST.

getText

Returns text stating the forecast for the current day.  The field for this block will be FORECAST.

Xephr Menus

The Xephr® Menus service allows you to set up the menus for your Xephr runtime.  The Xephr menus service requires the parameter MENU_NAME.  For more information, see the Menus section.  The following option is available for Method.

getMenu

Returns the menu.

Xephr is a registered trademark of NDS Systems, LC.