package Ġuk . co . plac ona . events bot . h aw key e Ċ Ċ import Ġio . reactivex . Observable Ċ import Ġio . reactivex . Single Ċ import Ġorg . springframework . cache . annotation . Cache able Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Query Ċ import Ġuk . co . plac ona . events bot . models . H aw key e Country Response Ċ import Ġuk . co . plac ona . events bot . models . H aw key e Event Response Ċ import Ġuk . co . plac ona . events bot . models . H aw key e Tag Response Ċ Ċ interface ĠH aw key e Service Ġ{ ĊĠĠĠ Ġ// ĠAll ĠGreen Ġevents ĊĠĠĠ Ġ@ GET ("/ api / events ? viewModel . include No Assigned At tendees = false & viewModel . status Id = 3 & viewModel . pageSize = 1 0 0 0 & viewModel . sort = start ") ĊĠĠĠ Ġfun Ġget Events By Country ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Query (" viewModel . startDate ") ĠstartDate : ĠString , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Query (" viewModel . country ") Ġcountry : ĠString , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Query (" api _ key ") ĠapiKey : ĠString ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ: ĠObservable < H aw key e Event Response > ĊĊĠĠĠ Ġ@ GET ("/ api / events ? viewModel . include No Assigned At tendees = false & viewModel . status Id = 3 & viewModel . pageSize = 1 0 0 0 & viewModel . sort = start ") ĊĠĠĠ Ġfun Ġget Events By Tag ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Query (" viewModel . startDate ") ĠstartDate : ĠString , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Query (" viewModel . event Tag Ids ") Ġtag : ĠString , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Query (" api _ key ") ĠapiKey : ĠString ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ: ĠObservable < H aw key e Event Response > ĊĊĠĠĠ Ġ@ GET ("/ api / tags ? pageSize = 1 0 0 0 ") ĊĠĠĠ Ġ@ Cache able (" tags ") ĊĠĠĠ Ġfun Ġget Tags (@ Query (" api _ key ") ĠapiKey : ĠString ) Ġ: ĠObservable < H aw key e Tag Response > ĊĊĠĠĠ Ġ@ GET ("/ api / countries ? pageSize = 1 0 0 0 ") ĊĠĠĠ Ġ@ Cache able (" countries ") ĊĠĠĠ Ġfun Ġget Countries (@ Query (" api _ key ") ĠapiKey : ĠString ) Ġ: ĠObservable < H aw key e Country Response > Ċ }