lib/SteamCondenser/Community/SteamId.php
public function getTotalPlaytime($appId) {
        if (empty($this->playtimes)) {
            $this->fetchGames();
        }

        return $this->playtimes[$appId][1];
    }
public function getTotalPlaytime($appId) {
        if (empty($this->playtimes)) {
            $this->fetchGames();
        }

        return $this->playtimes[$appId][1];
    }
Returns the total time in minutes this user has played this game

@param int $appId The application ID of the game
@return int The total number of minutes this user played the given game