A simple conversion of Riot API into java