@@ -0,0 +1,1562 @@
+from devicehive.api_object import ApiObject%0Afrom devicehive.device import Device%0A%0A%0Aclass Devices(ApiObject):%0A    %22%22%22Devices class.%22%22%22%0A%0A    def __init__(self, transport, token):%0A        ApiObject.__init__(self, transport)%0A        self._token = token%0A%0A    def list(self, name=None, name_pattern=None, network_id=None,%0A             network_name=None, sort_field=None, sort_order=None, take=None,%0A             skip=None):%0A        # TODO: implement params for websocket when API will be extended.%0A        url = 'device'%0A        action = 'device/list'%0A        request = %7B%7D%0A        params = %7B'response_key': 'devices', 'params': %7B%7D%7D%0A        if name:%0A            params%5B'params'%5D%5B'name'%5D = name%0A        if name_pattern:%0A            params%5B'params'%5D%5B'namePattern'%5D = name_pattern%0A        if network_id:%0A            params%5B'params'%5D%5B'networkId'%5D = network_id%0A        if network_name:%0A            params%5B'params'%5D%5B'networkName'%5D = network_name%0A        if sort_field:%0A            params%5B'params'%5D%5B'sortField'%5D = sort_field%0A        if sort_order:%0A            params%5B'params'%5D%5B'sortOrder'%5D = sort_order%0A        if take:%0A            params%5B'params'%5D%5B'take'%5D = take%0A        if skip:%0A            params%5B'params'%5D%5B'skip'%5D = skip%0A        response = self._token.authorized_request(url, action, request,%0A                                                  **params)%0A        self._ensure_success_response(response, 'List devices failure')%0A        devices = response.response('devices')%0A        return %5BDevice(self._transport, self._token, device)%0A                for device in devices%5D%0A

Add devices.py