public function getPlayerCount() {
        $params = ['appid' => $this->appId];
        $result = WebApi::getJSONObject('ISteamUserStats', 'GetNumberOfCurrentPlayers', 1, $params);

        return $result->response->player_count;
    }
public function getPlayerCount() {
        $params = ['appid' => $this->appId];
        $result = WebApi::getJSONObject('ISteamUserStats', 'GetNumberOfCurrentPlayers', 1, $params);

        return $result->response->player_count;
    }
public function getPlayerCount ( ) { $ params = [ 'appid' => $ this -> appId ] ; $ result = WebApi :: getJSONObject ( 'ISteamUserStats' , 'GetNumberOfCurrentPlayers' , 1 , $ params ) ; return $ result -> response -> player_count ; }
Returns the overall number of players currently playing this game

@return int The number of players playing this game
Returns the overall number of players currently playing this game