package Ġcom . san m idev . yet another anime list . data . network . service Ċ Ċ import Ġio . reactivex . Single Ċ import Ġokhttp 3 . ResponseBody Ċ import Ġretrofit 2 . Response Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ Ċ interface ĠJ ikan Service Ġ{ ĊĊĠĠĠ Ġ@ GET ("/ v 3 / top / anime /{ page }/ up coming ") ĊĠĠĠ Ġfun Ġget Up and Com ing An ime (@ Path (" page ") Ġpage Ġ: ĠString ) Ġ: ĠSingle < Response < ResponseBody >> ĊĊĠĠĠ Ġ@ GET ("/ v 3 / top / anime /{ page }/ air ing ") ĊĠĠĠ Ġfun Ġget A iring An imes (@ Path (" page ") Ġpage : ĠString ): ĠSingle < Response < ResponseBody >> ĊĊĠĠĠ Ġ@ GET ("/ v 3 / anime /{ mal _ id }") ĊĠĠĠ Ġfun Ġget Detail An ime (@ Path (" mal _ id ") Ġmal Id : ĠString ): Ġ ĠSingle < Response < ResponseBody >> ĊĊ Ċ }