package Ġu oc . cb on ache . tf g . data . network . service Ċ Ċ import Ġu oc . cb on ache . tf g . data . network . Api Constants Ċ import Ġcom . google . gson . Json Element Ċ import Ġretrofit 2 . Call Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Query Ċ Ċ /** Ċ Ġ* Ġ@ author Ġc bon ache Ċ Ġ*/ Ċ interface ĠRoute Service Ġ{ ĊĊĠĠĠ Ġ// ? origin ={ origin Text }& destination ={ destination Text }& key ={ maps Key } ĊĠĠĠ Ġ@ GET ( Api Constants . MA PS _ ROUTE ) ĊĠĠĠ Ġfun Ġget Route (@ Query (" origin ") Ġorigin : ĠString , Ġ@ Query (" destination ") Ġdestination : ĠString , Ġ@ Query (" key ") Ġkey : ĠString ): ĠCall < Json Element > Ċ }