package Ġcom . moz ay . movie . data . source . remote Ċ Ċ import Ġcom . moz ay . movie . domain . model . movie . response . Movie Detail Response Ċ import Ġcom . moz ay . movie . domain . model . movie . response . Movie Images Response Ċ import Ġcom . moz ay . movie . domain . model . movie . response . Movie ListResponse Ċ import Ġio . reactivex . Single Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ import Ġretrofit 2 . http . Query ĊĊ Ċ interface ĠApi Service { ĊĊĠĠĠ Ġ@ GET (" movie / popular ") ĊĠĠĠ Ġfun Ġget Pop ular Movies ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" api _ key ") ĠapiKey : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" language ") Ġlanguage : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" page ") Ġpage : ĠInt ĊĠĠĠ Ġ): ĠSingle < Movie ListResponse > ĊĊĠĠĠ Ġ@ GET (" movie / top _ r ated ") ĊĠĠĠ Ġfun Ġget Top R ated Movies ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" api _ key ") ĠapiKey : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" language ") Ġlanguage : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" page ") Ġpage : ĠInt ĊĠĠĠ Ġ): ĠSingle < Movie ListResponse > ĊĊĠĠĠ Ġ@ GET (" movie / now _ playing ") ĊĠĠĠ Ġfun Ġget Now Playing Movies ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" api _ key ") ĠapiKey : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" language ") Ġlanguage : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" page ") Ġpage : ĠInt ĊĠĠĠ Ġ): ĠSingle < Movie ListResponse > ĊĊĠĠĠ Ġ@ GET (" movie /{ movie _ id }") ĊĠĠĠ Ġfun Ġget Movie Detail ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" movie _ id ") Ġmovie _ id : ĠInt , ĊĠĠĠĠĠĠĠ Ġ@ Query (" api _ key ") ĠapiKey : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" language ") Ġlanguage : ĠString ĊĠĠĠ Ġ): ĠSingle < Movie Detail Response > ĊĊĠĠĠ Ġ@ GET (" movie /{ movie _ id }/ images ") ĊĠĠĠ Ġfun Ġget Movie Images ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" movie _ id ") Ġmovie _ id : ĠInt , ĊĠĠĠĠĠĠĠ Ġ@ Query (" api _ key ") ĠapiKey : ĠString ĊĠĠĠ Ġ): ĠSingle < Movie Images Response > Ċ }