<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _request_devices(self, url, _type):
 """Request list of devices."""

        res = self._request(url)
        return res.get(_type) if res else {}