package Ġcom . example . sun ny weather . logic . network . service Ċ Ċ import Ġcom . example . sun ny weather . Sun ny Weather Application Ċ import Ġcom . example . sun ny weather . logic . model . Now Response Ċ import Ġretrofit 2 . Call Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Query Ċ Ċ interface ĠNow Service Ġ{ ĊĊĠĠĠ Ġ@ GET (" v 3 / weather / now . json ? key =${ Sun ny Weather Application . TOKEN }& language = zh - H ans & unit = c ") ĊĠĠĠ Ġfun Ġsearch Now (@ Query (" location ") Ġlocation : ĠString ) Ġ: Call < Now Response > ĊĊ Ċ }