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

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

        :return: The Command that was just sent
        :rtype: Command

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
        """
        return Command.create(self, **params)
예제 #2
0
 def send_command(self, **params):
     return Command.create(self, **params)