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

        return $result->response->player_count;
    }