package Ġcom . hz m . weather 3 6 5 . logic . network Ċ Ċ import Ġcom . hz m . weather 3 6 5 . Weather 3 6 5 Application Ċ import Ġcom . hz m . weather 3 6 5 . logic . model . Daily Response Ċ import Ġcom . hz m . weather 3 6 5 . logic . model . Realtime Response Ċ import Ġretrofit 2 . Call Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ Ċ interface ĠWeather Service Ġ{ ĊĠĠĠ Ġ// https :// api . ca iy un app . com / v 2 . 5 / TA kh jf 8 d 1 nl Sl sp N / 1 1 3 . 8 0 8 0 8 7 , 2 2 . 6 7 0 2 0 9 / realtime . json ĊĠĠĠ Ġ// https :// api . ca iy un app . com / v 2 . 5 / TA kh jf 8 d 1 nl Sl sp N / 1 1 3 . 8 0 8 0 8 7 , 2 2 . 6 7 0 2 0 9 / weather . json ? alert = true ĊĠĠĠ Ġ@ GET (" v 2 . 5 /${ Weather 3 6 5 Application . TOKEN }/{ lng },{ lat }/ realtime . json ") ĊĠĠĠ Ġfun Ġget Realtime Weather (@ Path (" lng ") Ġlng : String , Ġ@ Path (" lat ") Ġlat : String ): ĠCall < Realtime Response > ĊĊĠĠĠ Ġ@ GET (" v 2 . 5 /${ Weather 3 6 5 Application . TOKEN }/{ lng },{ lat }/ daily . json ") ĊĠĠĠ Ġfun Ġget Daily Weather (@ Path (" lng ") Ġlng : String , Ġ@ Path (" lat ") Ġlat : String ): ĠCall < Daily Response > Ċ }