Correct OpenWeather reference
This commit is contained in:
parent
2653d47fcd
commit
3f2d695a46
@ -7,7 +7,7 @@ function dateTime() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function weatherBalloon(cityID) {
|
function weatherBalloon(cityID) {
|
||||||
var apiKey = ''; //Your OpenWeather API key
|
var apiKey = ''; //OpenWeather API key
|
||||||
fetch('https://api.openweathermap.org/data/2.5/weather?id=' + cityID + '&appid=' + apiKey)
|
fetch('https://api.openweathermap.org/data/2.5/weather?id=' + cityID + '&appid=' + apiKey)
|
||||||
.then(function(resp) {
|
.then(function(resp) {
|
||||||
return resp.json()
|
return resp.json()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user