Created
December 7, 2016 09:43
-
-
Save dseg/0a08c55216c0c55327f8d97cfdde9e7d to your computer and use it in GitHub Desktop.
Get Stock Quotes from command-line (shell)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl http://finance.google.com/finance/info?q=TYO:7974 | |
// [ | |
{ | |
"id": "672774" | |
,"t" : "7974" | |
,"e" : "TYO" | |
,"l" : "27,980.00" | |
,"l_fix" : "27980.00" | |
,"l_cur" : "�27,980.00" | |
,"s": "0" | |
,"ltt":"3:00PM GMT+9" | |
,"lt" : "Dec 7, 3:00PM GMT+9" | |
,"lt_dts" : "2016-12-07T15:00:00Z" | |
,"c" : "+115.00" | |
,"c_fix" : "115.00" | |
,"cp" : "0.41" | |
,"cp_fix" : "0.41" | |
,"ccol" : "chg" | |
,"pcls_fix" : "27865" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment