Package com.weather.info.client
Class OpenWeatherClient
java.lang.Object
com.weather.info.client.OpenWeatherClient
OpenWeatherClient is a client class which has methods that internally use RestTemplate to communicate and fetch data
from OpenWeatherAPI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfetchCoordinatesForZipCode
(String zipCode) getWeatherForCoordinates
(CoordinatesEntity coordinatesEntity)
-
Constructor Details
-
OpenWeatherClient
public OpenWeatherClient()
-
-
Method Details
-
getWeatherForCoordinates
-
fetchCoordinatesForZipCode
-