sdu_bkjws/__init__.py
def get_exam_time(self, xnxq):
        """
        获取考试时间

        :param xnxq: 学年学期 格式为 ``开始学年-结束学年-{1|2|3}`` 3为暑期学校 example:``2016-2017-2``
        :type xnxq: str
        :return: list of exam time
        :rtype: list
        """
        echo = self._echo
        response = self._post('http://bkjws.sdu.edu.cn/b/ksap/xs/vksapxs/pageList',
                              data=self._aodata(echo, xnxq=xnxq,
                                                columns=["function", 'ksmc', 'kcm', 'kch', 'xqmc',
                                                         'jxljs', 'sjsj', "ksfsmc",
                                                         "ksffmc", "ksbz"]))
        if self._check_response(response, echo):
            return response['object']['aaData']
        else:
            self._unexpected(response)
def get_exam_time(self, xnxq):
        """
        获取考试时间

        :param xnxq: 学年学期 格式为 ``开始学年-结束学年-{1|2|3}`` 3为暑期学校 example:``2016-2017-2``
        :type xnxq: str
        :return: list of exam time
        :rtype: list
        """
        echo = self._echo
        response = self._post('http://bkjws.sdu.edu.cn/b/ksap/xs/vksapxs/pageList',
                              data=self._aodata(echo, xnxq=xnxq,
                                                columns=["function", 'ksmc', 'kcm', 'kch', 'xqmc',
                                                         'jxljs', 'sjsj', "ksfsmc",
                                                         "ksffmc", "ksbz"]))
        if self._check_response(response, echo):
            return response['object']['aaData']
        else:
            self._unexpected(response)
获取考试时间

        :param xnxq: 学年学期 格式为 ``开始学年-结束学年-{1|2|3}`` 3为暑期学校 example:``2016-2017-2``
        :type xnxq: str
        :return: list of exam time
        :rtype: list