package Ġcom . kor ol . my weather . api čĊč Ċ import Ġkotlinx . coroutines . Deferred č Ċ import Ġretrofit 2 . Call č Ċ import Ġretrofit 2 . http . GET č Ċ import Ġretrofit 2 . http . Query čĊč Ċ interface ĠRet rofit Services Ġ{ čĊčĊĠĠĠ Ġ@ GET (" forecast ?& hourly = temperature _ 2 m & current _ weather = true & wind speed _ unit = ms ") čĊĠĠĠ Ġfun Ġget Weather ( čĊĠĠĠĠĠĠĠ Ġ@ Query (" latitude ") Ġlat : ĠString , čĊĠĠĠĠĠĠĠ Ġ@ Query (" longitude ") Ġlon : ĠString čĊĠĠĠ Ġ): ĠCall < Weather Info > čĊč Ċ }