package Ġcom . v wo om . time lap seg allery . weather Ċ Ċ import Ġcom . v wo om . time lap seg allery . weather . data . Forecast Location Response Ċ import Ġcom . v wo om . time lap seg allery . weather . data . Forecast Response Ċ import Ġkotlinx . coroutines . Deferred Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ import Ġretrofit 2 . http . Url Ċ Ċ const Ġval Ġweather Service BaseUrl Ġ= Ġ" https :// api . weather . gov /" Ċ Ċ interface ĠWeather Service Ġ{ ĊĠĠĠ Ġ@ GET (" points /{ latitude },{ longitude }") ĊĠĠĠ Ġfun Ġget Forecast Location Async (@ Path (" latitude ") Ġlatitude : ĠString , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Path (" longitude ") Ġlongitude : ĠString ): ĠDeferred < Forecast Location Response ?> ĊĊĠĠĠ Ġ@ GET ĊĠĠĠ Ġfun Ġget Forecast Async (@ Url Ġstring Url : ĠString ): ĠDeferred < Forecast Response ?> Ċ Ċ } Ċ