open weather api, extract the temperature out of the json response and set it in a textbox import { fetch } from 'wix-fetch'; $w.onReady(function () { // shlomi shemesh fetch("https://api.openweathermap.org/data/2.5/weather?q=Longyearbyen,SJ&appid=fe bfe9f6c7229ceebdf695654890dc70&units=metric") .then(response => response.json()) .then(json=> String(json.main.temp)) .then(json => $w("#temperature").text = json) });