Closed BronzW closed 3 years ago
Hello @BronzW, I think you cannot get the temperature without setting one of these 4 options
From Readme
// set city by name
weather.setCity('Fairplay');
// or set the coordinates (latitude,longitude)
weather.setCoordinate(50.0467656, 20.0048731);
// or set city by ID (recommended by OpenWeatherMap)
weather.setCityId(4367872);
// or set zip code
weather.setZipCode(33615);
Yes, but is there a function or method to get weather maps?
No, unfortunately.
Can you fetch weather maps with this api wrapper? I tried to do weather.getTemperature() without setting a location, but then it throws an error.