Skip to content
Snippets Groups Projects
Commit 5b9f0aab authored by stephane.malandai's avatar stephane.malandai
Browse files

Update 2 files

- /TP/Tp4_android_2023_2024.pdf
- /TP/ressources_TP4/APIResults.kt
parent a326f0ea
No related branches found
No related tags found
No related merge requests found
No preview for this file type
package com.example.mameteo.model // A mettre à jour sur votre appli
data class APIResults(
val cod: String,
val message: Int,
val cnt: Int,
val list: List<Forecast>,
val city: City
)
data class Forecast(
val dt: Int,
val main: Main,
val weather: List<Weather>,
val dt_txt: String,
val visibility: Int,
val clouds: Clouds,
val wind: Wind,
)
data class City(val name: String)
data class Main(
val temp: Double,
val feels_like: Double,
val temp_min: Double,
val temp_max: Double,
val pressure: Int,
val sea_level: Int,
val grnd_level: Int,
val humidity: Int,
val temp_kf: Double
)
data class Weather(
val id: Int,
val main: String,
val description: String,
val icon: String
)
data class Clouds(val all: Int)
data class Wind(val speed: Double, val deg: Int, val gust: Double)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment