def get_steamids_from_ips(self, server_ips, timeout=30):
        """Resolve SteamIDs from IPs

        :param steam_ids: a list of ips (e.g. ``['1.2.3.4:27015',...]``)
        :type  steam_ids: list
        :param timeout: (optional) timeout for request in seconds
        :type  timeout: int
        :return: map of steamids to ips
        :rtype: dict
        :raises: :class:`.UnifiedMessageError`

        Sample response:

        .. code:: python

            {'1.2.3.4:27060': SteamID(id=123456, type='AnonGameServer', universe='Public', instance=1234)}
        """
        resp, error = self._um.send_and_wait("GameServers.GetServerSteamIDsByIP#1",
                                             {"server_ips": server_ips},
                                             timeout=timeout,
                                             )

        if error:
            raise error
        if resp is None:
            return None

        return {server.addr: SteamID(server.steamid) for server in resp.servers}
def get_steamids_from_ips ( self , server_ips , timeout = 30 ) : resp , error = self . _um . send_and_wait ( "GameServers.GetServerSteamIDsByIP#1" , { "server_ips" : server_ips } , timeout = timeout , ) if error : raise error if resp is None : return None return { server . addr : SteamID ( server . steamid ) for server in resp . servers }
Resolve SteamIDs from IPs

        :param steam_ids: a list of ips (e.g. ``['1.2.3.4:27015',...]``)
        :type  steam_ids: list
        :param timeout: (optional) timeout for request in seconds
        :type  timeout: int
        :return: map of steamids to ips
        :rtype: dict
        :raises: :class:`.UnifiedMessageError`

        Sample response:

        .. code:: python

            {'1.2.3.4:27060': SteamID(id=123456, type='AnonGameServer', universe='Public', instance=1234)}