Making a web service call in details view

I'd like to display real-time stock price as one of the columns in a detail view. How would I incorporate a REST API call within Knack?

Hello Appwerkz,

This works properly i did this for showing current currency rate using API

 

function getinfo(BaseCurrency, record) {
var url = 'https://data.fixer.io/api/latest?access_key=' + DataFixerKey + '&base=' + BaseCurrency;
$.ajax({
url: url,
dataType: 'jsonp',
success: function (data) {
console.log(data);
}
});
}

Similarly we can do for stock market if we know the API and it's accessible

Regards,

Sunny Singla