Commit 4612f205 by Manzar Hussain

stock js

parent af5e8128
...@@ -85,5 +85,21 @@ ...@@ -85,5 +85,21 @@
{{ page }} {{ page }}
{{ page_bottom }} {{ page_bottom }}
<js-bottom-placeholder token="{{ placeholder_token }}"> <js-bottom-placeholder token="{{ placeholder_token }}">
<script type="text/javascript">
const settings = {
"async": true,
"crossDomain": true,
"url": "https://apidojo-yahoo-finance-v1.p.rapidapi.com/stock/v2/get-financials?symbol=DICIND.BO&region=IN",
"method": "GET",
"headers": {
"x-rapidapi-key": "71595d71fdmsh59db2218deaaf67p15e9e8jsnca220a779910",
"x-rapidapi-host": "apidojo-yahoo-finance-v1.p.rapidapi.com"
}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
</script>
</body> </body>
</html> </html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment