// Ġusing : ĠOpen Weather Ċ // Ġbased Ġon : Ċ // Ġhttps :// open weather map . org / forecast 5 # 5 days Ċ Ċ package Ġhu . k rist of . n agy . hi ke book client . data . network Ċ Ċ import Ġhu . k rist of . n agy . hi ke book client . model . weather . Weather Response Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Query Ċ Ċ interface ĠWeather Service Ġ{ ĊĠĠĠ Ġ@ GET (" forecast ") ĊĠĠĠ Ġsuspend Ġfun Ġforecast ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" lat ") Ġlat : ĠDouble , ĊĠĠĠĠĠĠĠ Ġ@ Query (" lon ") Ġlon : ĠDouble , ĊĠĠĠĠĠĠĠ Ġ@ Query (" units ") Ġunit : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" lang ") Ġlang : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" appid ") Ġapp id : ĠString ĊĠĠĠ Ġ): ĠWeather Response Ċ }