mirror of
https://github.com/hongtaocai/googlefinance.git
synced 2025-02-25 18:55:20 -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)
|