package Ġcom . fil ip ib rente g ani . mar vel hero es . network Ċ Ċ import Ġcom . fil ip ib rente g ani . mar vel hero es . entity . data . Characters Response Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ import Ġretrofit 2 . http . Query Ċ Ċ interface ĠMar vel Api Ġ{ ĊĠĠĠ Ġ@ GET ("/ v 1 / public / characters ") ĊĠĠĠ Ġsuspend Ġfun Ġget Characters ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" name StartsWith ") Ġcriteria : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" apikey ") ĠapiKey : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" ts ") Ġtimestamp : ĠLong , ĊĠĠĠĠĠĠĠ Ġ@ Query (" hash ") Ġhash : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" limit ") Ġlimit : ĠInt , ĊĠĠĠĠĠĠĠ Ġ@ Query (" offset ") Ġpage : ĠInt ĊĠĠĠ Ġ): ĠChar acters Response ĊĊĠĠĠ Ġ@ GET ("/ v 1 / public / characters /{ character Id }") ĊĠĠĠ Ġsuspend Ġfun Ġget Character ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" character Id ") Ġhero Id : ĠInt , ĊĠĠĠĠĠĠĠ Ġ@ Query (" apikey ") ĠapiKey : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" ts ") Ġtimestamp : ĠLong , ĊĠĠĠĠĠĠĠ Ġ@ Query (" hash ") Ġhash : ĠString ĊĠĠĠ Ġ): ĠChar acters Response Ċ }