current weather data from weatherapi.com code example
Example: weatherapi
// this require key, so sign-in and get from
https://home.openweathermap.org/api_keys
//usage - I'm using fetch api
var apiCall = 'https://api.openweathermap.org/data/2.5/weather?q={LOCATION}&appid={API KEY}';
fetch(apiCall)
.then(rawdata => rawdata.json())
.then(parsed_data => console.log(parsed_data));