Your project is a life saver for me to fetch the real-time data but can you simplify a little bit more.
For example
>>> from googlefinance import getQuotes
>>> import json
>>> print json.dumps(getQuotes('AAPL'), indent=2)
[
{
"Index": "NASDAQ",
"LastTradeWithCurrency": "129.09",
"LastTradeDateTime": "2015-03-02T16:04:29Z",
"LastTradePrice": "129.09",
"Yield": "1.46",
"LastTradeTime": "4:04PM EST",
"LastTradeDateTimeLong": "Mar 2, 4:04PM EST",
"Dividend": "0.47",
"StockSymbol": "AAPL",
"ID": "22144"
}
]
I need something like this
from googlefinance import getQuotes
getQuotes('AAPL') #for fetcing all values
getQuotes('AAPL',params=['lastprice','symbol','Time',etc])