package Ġcom . dio g ocab ral . news app . repository . service Ċ Ċ import Ġcom . dio g ocab ral . news app . model . remote . News ApiResponse Ċ import Ġretrofit 2 . Response Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Query Ċ Ċ interface ĠNews Api Ġ{ ĊĊĠĠĠ Ġ@ GET (" top - head lines ") ĊĠĠĠ Ġsuspend Ġfun Ġget Top Head lines ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" country ") Ġcountry : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" apiKey ") ĠapiKey : ĠString ĊĠĠĠ Ġ): ĠResponse < News ApiResponse > Ċ } Ċ