Riot Games API in PHP 5