mirror of
https://github.com/hongtaocai/googlefinance.git
synced 2024-06-24 22:09:41 -05: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)
|