Class Declarations for temperature program in Java

You need a Temperature class. I’m just guessing that you’ve added those methods to the TempProg considering the improper “constructor”. What you need is another class all together like so… The constructor should not return a value. It should look like… public Temperature(), or some variation depending on your specific requirements.

Python Weather API

Since Google has shut down its weather API, I suggest to check out OpenWeatherMap: The OpenWeatherMap service provides free weather data and forecast API suitable for any cartographic services like web and smartphones applications. Ideology is inspired by OpenStreetMap and Wikipedia that make information free and available for everybody. OpenWeatherMap provides wide range of weather data … Read more