mirror of
https://github.com/hongtaocai/googlefinance.git
synced 2024-07-04 18:42:57 -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)
|