API updated weatherapi.com

Signed-off-by: Pranshul <pranshul.devmain@gmail.com>
This commit is contained in:
Pranshul authored and GitHub committed 2024-10-06 20:20:05 +05:30
1 parent 75bc67a62c
commit d3576fb557
1 file changed
+3 -3
+3 -3
View File
@@ -927,7 +927,7 @@ function UvIndex(latitude, longitude) {
function MoreDetails(latSum, lonSum) {
fetch(`https://api.weatherapi.com/v1/forecast.json?key=ef2cb48d90984d828a8140518240209&q=${latSum},${lonSum}`)
fetch(`https://api.weatherapi.com/v1/forecast.json?key=KEY_API&q=${latSum},${lonSum}`)
.then(response => response.json())
.then(data => {
@@ -1069,7 +1069,7 @@ function MoreDetails(latSum, lonSum) {
}
function astronomyData(latSum, lonSum) {
fetch(`https://api.weatherapi.com/v1/astronomy.json?key=ef2cb48d90984d828a8140518240209&q=${latSum},${lonSum}`)
fetch(`https://api.weatherapi.com/v1/astronomy.json?key=KEY_API&q=${latSum},${lonSum}`)
.then(response => response.json())
.then(data => {
@@ -1223,4 +1223,4 @@ function clickForecastItem(index){
}
}
}, 300);
}
}