icon URL added to app-resources
This commit is contained in:
parent
0ad83e6488
commit
2aee2a6c18
|
@ -5,29 +5,15 @@
|
||||||
[Beispiel App Projekt](https://github.com/haroon47/WeatherApp)
|
[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`
|
`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`
|
`https://api.openweathermap.org/data/2.5/forecast?lat=35&lon=139&appid=030cadd0e9d6bdb9ae54ff0f841258ea&lang=de&units=metric`
|
||||||
|
|
||||||
|
|
||||||
weather
|
## Wetter Icon
|
||||||
0
|
String iconUrl = "http://openweathermap.org/img/w/" + iconCode + ".png";
|
||||||
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"
|
|
Loading…
Reference in New Issue