Finance::Quote::YahooJSON - Obtain quotes from Yahoo Finance through JSON call
use Finance::Quote; $q = Finance::Quote->new; %info = Finance::Quote->fetch("yahoo_json","SBIIN.NS");
This module fetches information from Yahoo as JSON
This module is loaded by default on a Finance::Quote object. It's also possible to load it explicity by placing "YahooJSON" in the argument list to Finance::Quote->new().
This module provides the "yahoo_json" fetch method.
The following labels may be returned by Finance::Quote::YahooJSON : name, last, isodate, volume, method, exchange, currency.
To install Finance::Quote, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::Quote
CPAN shell
perl -MCPAN -e shell install Finance::Quote
For more information on module installation, please visit the detailed CPAN module installation guide.