diff --git a/README.md b/README.md index eae7053..a28cf79 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ weatherMap.getLocationWeather(latitude, longitude, new WeatherCallback() { } }); ``` -To get **Forecast** use this in `Activity` also you need specify `index` to get the specific hour of [3 hour Forecast](http://openweathermap.org/forecast5): +To get **Forecast** use this in `Activity` also you need specify `index` to get the specific hour of [3 hour Forecast](https://openweathermap.org/forecast5): **By City Name:** diff --git a/library/src/main/java/github/vatsal/easyweather/retrofit/api/ApiClient.java b/library/src/main/java/github/vatsal/easyweather/retrofit/api/ApiClient.java index 88c153f..cfeb6b4 100644 --- a/library/src/main/java/github/vatsal/easyweather/retrofit/api/ApiClient.java +++ b/library/src/main/java/github/vatsal/easyweather/retrofit/api/ApiClient.java @@ -17,7 +17,7 @@ public class ApiClient { private static ApiClient uniqInstance; - private final String URL_LIVE = "http://api.openweathermap.org/data/2.5/"; + private final String URL_LIVE = "https://api.openweathermap.org/data/2.5/"; private WeatherInterface weatherInterface; diff --git a/library/src/main/java/github/vatsal/easyweather/retrofit/models/Weather.java b/library/src/main/java/github/vatsal/easyweather/retrofit/models/Weather.java index 821c4ad..ce08627 100644 --- a/library/src/main/java/github/vatsal/easyweather/retrofit/models/Weather.java +++ b/library/src/main/java/github/vatsal/easyweather/retrofit/models/Weather.java @@ -30,7 +30,7 @@ public String getIcon() { } public String getIconLink() { - return "http://openweathermap.org/img/w/" + icon + ".png"; + return "https://openweathermap.org/img/w/" + icon + ".png"; } public void setIcon(String icon) {