Exchange rate

Web API for exchange rate
We can use Yahoo APIs. Codes are ISO 4217. Here is an example query, asking for USD to CAD, GBP, EUR, AUD, and INR:

Example query for exchange rates

This is the result:

 USD to CAD 1.0253 USD to GBP 0.6541 USD to EUR 0.7657 USD to AUD 0.9702</Rate> USD to INR</Name> 54.0305</Rate>

Rates
The rates the script fetches are stored on the /Currencies/ subpage.

The rates are fetched by Pricebot.

The script places the rates on a subpage of this one:


 * /CAD/
 * /GBP/
 * /EUR/
 * /AUD/
 * /INR/

Bugs and enhancements

 * Update the list above from the actual currencies being fetched.
 * Remove the subpages for currencies which are no longer being fetched.
 * Do some error checking on the list to only work for real currencies.
 * Add a switch or code to turn the bot off and on, and a note on the bot's page.