def raw_machine_data(self, machine_id, credentials=False):
params = {}<EOL>if isinstance(machine_id, dict):<EOL><INDENT>machine_id = machine_id['<STR_LIT:id>']<EOL><DEDENT>if credentials:<EOL><INDENT>params['<STR_LIT>'] = True<EOL><DEDENT>j, _ = self.request('<STR_LIT:GET>', '<STR_LIT>' + str(machine_id), <EOL>params=params)<EOL>return j<EOL>
::

    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.