mirror of
https://github.com/hongtaocai/googlefinance.git
synced 2024-11-04 16:29:23 -06:00
6 lines
172 B
Python
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) |