package Ġw ally son . li ma . viv am ov ie . ret rofit . service Ċ Ċ import Ġretrofit 2 . Call Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Query Ċ import Ġw ally son . li ma . viv am ov ie . model . Get Movies Response Ċ Ċ interface ĠApi Ġ{ ĊĠĠĠ Ġ@ GET (" discover / movie ") ĊĠĠĠ Ġfun ĠgetAll Movies ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" api _ key ") ĠapiKey Ġ: ĠString Ġ= Ġ" 6 df 0 8 4 8 6 f 6 3 fa 6 1 4 bf 2 d 2 3 4 b 0 5 4 0 5 c 9 7 ", ĊĠĠĠĠĠĠĠ Ġ@ Query (" page ") Ġpage : ĠInt ĊĠĠĠ Ġ): ĠCall < Get Movies Response > ĊĊĠĠĠ Ġ@ GET (" search / movie ? query = mar vel ") ĊĠĠĠ Ġfun ĠgetAll Mar vel Movies ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" api _ key ") ĠapiKey Ġ: ĠString Ġ= Ġ" 6 df 0 8 4 8 6 f 6 3 fa 6 1 4 bf 2 d 2 3 4 b 0 5 4 0 5 c 9 7 ", ĊĠĠĠĠĠĠĠ Ġ@ Query (" page ") Ġpage : ĠInt ĊĠĠĠ Ġ): ĠCall < Get Movies Response > ĊĊĠĠ Ġ@ GET (" discover / movie ") ĊĠĠ Ġfun ĠgetAll Movies Top R ated ( ĊĠĠĠĠĠĠ Ġ@ Query (" api _ key ") ĠapiKey Ġ: ĠString Ġ= Ġ" 6 df 0 8 4 8 6 f 6 3 fa 6 1 4 bf 2 d 2 3 4 b 0 5 4 0 5 c 9 7 ", ĊĠĠĠĠĠĠ Ġ@ Query (" sort _ by ") Ġaverage Ġ: ĠString Ġ= Ġ" vote _ average . desc ", ĊĠĠĠĠĠĠ Ġ@ Query (" page ") Ġpage : ĠInt Ġ= Ġ 1 0 ĊĠĠ Ġ): ĠCall < Get Movies Response > Ċ }