call city ranking api in controller