package Ġcom . x uan loc le . weather app . data . remote . api Ċ Ċ import Ġcom . x uan loc le . weather app . data . model . Temperature Unit Enum Ċ import Ġcom . x uan loc le . weather app . data . remote . response . Weather Response Ċ import Ġkotlinx . coroutines . Deferred Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Query Ċ Ċ interface ĠWeather Service Ġ{ ĊĊĠĠĠ Ġ@ GET (" forecast / daily ") ĊĠĠĠ Ġfun Ġget Weather From Api Async ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" q ") Ġcity Name : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" cnt ") Ġcount : ĠInt , ĊĠĠĠĠĠĠĠ Ġ@ Query (" units ") Ġtemperature Unit : ĠTemperature Unit Enum , ĊĠĠĠ Ġ): ĠDeferred < Weather Response > Ċ Ċ }