Class SingleLocationCurrentWeatherRequester
java.lang.Object
com.github.prominence.openweathermap.api.request.weather.single.SingleLocationCurrentWeatherRequester
The type Single location current weather requester.
-
Constructor Summary
ConstructorsConstructorDescriptionSingleLocationCurrentWeatherRequester(RequestSettings requestSettings) Instantiates a new Single location current weather requester. -
Method Summary
Modifier and TypeMethodDescriptionbyCityId(long cityId) byCityName(String cityName) byCityName(String cityName, String countryCode) byCityName(String cityName, String stateCode, String countryCode) byCoordinate(Coordinate coordinate) byZipCodeAndCountry(String zipCode, String countryCode) byZipCodeInUSA(String zipCode)
-
Constructor Details
-
SingleLocationCurrentWeatherRequester
Instantiates a new Single location current weather requester.- Parameters:
requestSettings- request settings object.
-
-
Method Details
-
byCityName
-
byCityName
-
byCityName
public SingleResultCurrentWeatherRequestCustomizer byCityName(String cityName, String stateCode, String countryCode) -
byCityId
-
byCoordinate
-
byZipCodeAndCountry
public SingleResultCurrentWeatherRequestCustomizer byZipCodeAndCountry(String zipCode, String countryCode) -
byZipCodeInUSA
-