googlefinance/example.py

6 lines
172 B
Python

from googlefinance import getQuotes
from googlefinance import getNews
import json
print json.dumps(getQuotes('GOOG'), indent=2)
print json.dumps(getNews("GOOG"), indent=2)