Coding data Into a dataset and then displaying it in a table

//BACKEND

import {fetch} from ‘wix-fetch’ ;

export function getStockInfo(currency) {
const url = 'https://www.alphavantage. co/query?function=TIME_SERIES_DAILY&symbol=’ + currency + ‘&apikey=DJ5GPL5CAQI0Q652’ ;
console.log( "Url: " + url);

return fetch(url, {method: ‘get’ })
.then(response => response.json());

}