public String GetPlayedWeek(String profileId) throws Exception {
        String gamesString = loadGames(profileId, "games?tab=recent");
        List<String> games = parseGamesData(gamesString, "hours");
        float total = 0;
        for (String str : games) {
            try {
                total += Float.parseFloat(str);
            }
            catch(Exception e) {
                System.out.println(str);
            }
        }

        return Float.toString(total)+"h";
    }