From 2aee2a6c188d4dc7a43fbd8cfd392c1cb91b6c63 Mon Sep 17 00:00:00 2001 From: Philipp Wo Date: Mon, 24 Jun 2019 00:59:18 +0200 Subject: [PATCH] icon URL added to app-resources --- app-resources.md | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/app-resources.md b/app-resources.md index a473f9f..216f027 100644 --- a/app-resources.md +++ b/app-resources.md @@ -5,29 +5,15 @@ [Beispiel App Projekt](https://github.com/haroon47/WeatherApp) -## Wetter API: +# Wetter API: -OpenWeathermap API-Key: `ef4ee3f556d464979db1cfa6fe60f7a0` +## OpenWeathermap API-Key: `ef4ee3f556d464979db1cfa6fe60f7a0` `https://api.openweathermap.org/data/2.5/weather?lat=47&lon=15&APPID=030cadd0e9d6bdb9ae54ff0f841258ea&lang=de&units=metric` -Vorhersage: +## Vorhersage: `https://api.openweathermap.org/data/2.5/forecast?lat=35&lon=139&appid=030cadd0e9d6bdb9ae54ff0f841258ea&lang=de&units=metric` -weather -0 -id 502 -main "Rain" -description "Starker Regen" -icon "10d" -clouds -all 100 -wind -speed 5.45 -deg 51.237 -rain -3h 21.938 -sys -pod "d" -dt_txt "2019-06-23 21:00:00" \ No newline at end of file +## Wetter Icon +String iconUrl = "http://openweathermap.org/img/w/" + iconCode + ".png"; \ No newline at end of file