Created
June 3, 2015 21:44
-
-
Save portal7/6b88351d38df7d9c500e to your computer and use it in GitHub Desktop.
Bursatil
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<ul></ul> | |
<script> | |
function handleResponse (json) { | |
//console.log(json.query.results); | |
var result = json.query.results.quote; | |
console.log(result); | |
} | |
</script> | |
<script src="https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.quote%20where%20symbol%20in%20(%22TGLT.BA%22)&format=json&diagnostics=true&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback=handleResponse"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment