package Ġcom . man ue ld uart e 0 7 7 . crypt oc urrency app yt . data . remote Ċ Ċ import Ġcom . man ue ld uart e 0 7 7 . crypt oc urrency app yt . data . remote . dto . Coin Detail Dto Ċ import Ġcom . man ue ld uart e 0 7 7 . crypt oc urrency app yt . data . remote . dto . Coin Dto Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ Ċ interface ĠCoin P ap ri ka Api Ġ{ ĊĊĠĠĠ Ġ@ GET ("/ v 1 / coins ") ĊĠĠĠ Ġsuspend Ġfun Ġget Coins (): ĠList < Coin Dto > ĊĊĠĠĠ Ġ@ GET ("/ v 1 / coins /{ coin Id }") ĊĠĠĠ Ġsuspend Ġfun Ġget Coin ById (@ Path (" coin Id ") Ġcoin Id : ĠString ): ĠCoin Detail Dto Ċ }