Remove OWM key

This commit is contained in:
Tressley Cahill 2022-11-13 08:41:22 -05:00
parent 81d7b0be3c
commit 8fcd31e235

View File

@ -7,7 +7,7 @@ function dateTime() {
}
function weatherBalloon(cityID) {
var apiKey = 'fad9628260a1bc2ebaaf85a7dfe800d0';
var apiKey = ''; //Your OpenWeatherMap key
fetch('https://api.openweathermap.org/data/2.5/weather?id=' + cityID + '&appid=' + apiKey)
.then(function(resp) {
return resp.json()
@ -23,5 +23,5 @@ function weatherBalloon(cityID) {
function traichu() {
dateTime();
weatherBalloon(6254926);
weatherBalloon(1850147); //OpenWeather city ID
}