コード例 #1
0
ファイル: api.py プロジェクト: mfreed420/m2x-python
    def command(self, id):
        """ Method for `View Command Details <https://m2x.att.com/developer/documentation/v2/commands#View-Command-Details>`_ endpoint.

        :param id: ID of the Command to retrieve
        :type id: str

        :return: The matching Command
        :rtype: Command

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
        """
        return Command.get(self, id)
コード例 #2
0
 def command(self, id):
     return Command.get(self, id)