package Ġdev . apes . p aw m ance . api Ċ Ċ import Ġcom . dev force codes . p aw m ance . Build Config Ċ import Ġdev . apes . p aw m ance . model . Place Auto Complete Response Ċ import Ġdev . apes . p aw m ance . model . Place Details Response Ċ import Ġretrofit 2 . Response Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Query Ċ Ċ interface ĠPl aces ApiService Ġ{ ĊĊĠ Ġ@ GET ("/ maps / api / place / autocomplete / json ") ĊĠ Ġsuspend Ġfun Ġget Autocomplete ( ĊĠĠĠ Ġ@ Query (" input ") Ġinput : ĠString ?, ĊĠĠĠ Ġ@ Query (" components ") Ġcomponent : ĠString Ġ= Ġ" country : ph ", ĊĠĠĠ Ġ@ Query (" radius ") Ġradius : ĠString Ġ= Ġ" 5 0 0 0 ", ĊĠĠĠ Ġ@ Query (" key ") ĠapiKey : ĠString Ġ= ĠBuild Config . MA PS _ API _ KEY ĊĠ Ġ): ĠResponse < Place Auto Complete Response > ĊĊĠ Ġ@ GET ("/ maps / api / place / details / json ") ĊĠ Ġsuspend Ġfun Ġget Place ById ( ĊĠĠĠ Ġ@ Query (" place _ id ") Ġid : ĠString ?, ĊĠĠĠ Ġ@ Query (" key ") ĠapiKey : ĠString Ġ= ĠBuild Config . MA PS _ API _ KEY ĊĠ Ġ): ĠResponse < Place Details Response > Ċ } ĊĊ