Created
June 9, 2014 01:30
-
-
Save hc5duke/2aaaa3c8df0d6d0f1bf7 to your computer and use it in GitHub Desktop.
curl yhoo
This file contains 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://query.yahooapis.com/v1/public/yql?format=json&q=select%20*%20from%20html%20where%20url%3D%22http%3A%2F%2Fdev.markitondemand.com%2FApi%2Fv2%2FQuote%2Fjson%3Fsymbol%3Dyhoo%22" | |
# {"query":{"count":1,"created":"2014-06-09T01:30:05Z","lang":"en-US","results":{"body":{"p":"{\"Status\":\"SUCCESS\",\"Name\":\"Yahoo! Inc\",\"Symbol\":\"YHOO\",\"LastPrice\":35.925,\"Change\":0.994999999999997,\"ChangePercent\":2.84855425135986,\"Timestamp\":\"Fri Jun 6 15:59:00 UTC-04:00 2014\",\"MSDate\":41796.6659722222,\"MarketCap\":36169577400,\"Volume\":1634239,\"ChangeYTD\":40.44,\"ChangePercentYTD\":-11.1646884272997,\"High\":36.08,\"Low\":35.05,\"Open\":35.07}"}}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment