::
        
            GET /:login/machines/:machine
        
        :param machine_id: identifier for the machine instance
        :type machine_id: :py:class:`basestring` or :py:class:`dict`
        
        :param credentials: whether the SDC should return machine credentials
        :type credentials: :py:class:`bool`
        
        :rtype: :py:class:`dict`
        
        Primarily used internally to get a raw dict for a single machine.

def raw_machine_data(self, machine_id, credentials=False):
        """
        ::
        
            GET /:login/machines/:machine
        
        :param machine_id: identifier for the machine instance
        :type machine_id: :py:class:`basestring` or :py:class:`dict`
        
        :param credentials: whether the SDC should return machine credentials
        :type credentials: :py:class:`bool`
        
        :rtype: :py:class:`dict`
        
        Primarily used internally to get a raw dict for a single machine.
        """
        params = {}
        if isinstance(machine_id, dict):
            machine_id = machine_id['id']
        if credentials:
            params['credentials'] = True
        j, _ = self.request('GET', '/machines/' + str(machine_id), 
                params=params)
        return j