예제 #1
0
파일: api.py 프로젝트: mfreed420/m2x-python
    def devices(self, **params):
        """ Method for `List Devices <https://m2x.att.com/developer/documentation/v2/device#List-Devices>`_ endpoint.

        :param params: Query parameters passed as keyword arguments. View M2X API Docs for listing of available parameters.

        :return: List of :class:`.Device` objects
        :rtype: `list <https://docs.python.org/2/library/functions.html#list>`_

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
        """
        return Device.list(self, **params)
예제 #2
0
파일: api.py 프로젝트: solversa/m2x-python
 def devices(self, **params):
     return Device.list(self, **params)
예제 #3
0
파일: api.py 프로젝트: arundhaj/m2x-python
 def devices(self, **params):
     return Device.list(self, **params)