<div dir="ltr"><div>Hello,<br></div><div><br></div><div>I need to get a list / array of devices in Java or Bash. Is it possible to get? Are there any API or something like that? </div><div><br></div><div>I know we can obtain a list with the next command:</div><div>swift-ring-builder object.builder</div><div><br></div><div>But it return a string with the list of devices which are quite hard to parse. In the documentation there is an example how to get a list of devices with python:</div><div>devices = list(self._iter_devs())</div><div><br></div><div>But it doesn't show which library to use to get a list of devices and how to use that library.</div><div><br></div><div>Sincerely,</div><div>Alexandr</div></div>