高中生在线试题接口api

来源:互联网 发布:凸优化问题求解 编辑:程序博客网 时间:2024/04/27 20:46

高中生在线试题接口api

该试题接口包括语文,数学,英语,物理,化学,生物,地理,历史,政治等等科目.

语文又包括字形,字音,词语,语法,诗词,成语等40多种题型.数学,物理化学等科目也是信息全面,不断完善.考题接口中有考题科目,来源,答案及其详解等.对于参考学生来说是一笔巨大的财富,数据全面,稳定.是接口的首选.

1.试题目录

基本信息:

URL:http://apis.haoservice.com/lifeservice/exam/Catalog

支持格式:json

http请求方式:GET POST

DEMO:http://apis.haoservice.com/lifeservice/exam/Catalog?key=您申请的APPKEY

参数说明:

名称

类型

必填

说明

key

string

应用APPKEY(应用详细页查询)

返回结果:{

    "error_code": 0,

    "reason": "Success",

    "result": {

        "语文": [

            {

                "id": 1,

                "catalog": "字音"

            },

            {

                "id": 2,

                "catalog": "字形"

            },

            {

                "id": 3,

                "catalog": "词语"

            },

            {

                "id": 4,

                "catalog": "语法"

            },

            {

                "id": 5,

                "catalog": "修辞格"

            },

                …………

            {

                "id": 44,

                "catalog": ""

            },

            {

                "id": 45,

                "catalog": "其他"

            },

            {

                "id": 46,

                "catalog": "其他"

            }

        ],

        "数学": [

            {

                "id": 47,

                "catalog": "集合的概念"

            },

          

        ],

        "英语": [

            {

                "id": 200,

                "catalog": "ABCD"

            },

           …………..

        ],

        "物理": [

            {

                "id": 293,

                "catalog": "质点"

            },

            {

                "id": 294,

                "catalog": "参考系"

            },

            {

                "id": 295,

                "catalog": "时间与时刻"

            },

            {   

                …………

            }

        ],

        "化学": [

            …………

        ],

        "历史": [

            …………

        ],

        "政治": [

             …………

        ],

        "地理": [

           …………

        ],

        "生物": [

          …………

        ]

    }

}

2.试题考题

基本信息:

URL:http://apis.haoservice.com/lifeservice/exam/query

支持格式:json

http请求方式:GET POST

DEMO:http://apis.haoservice.com/lifeservice/exam/query?key=您申请的APPKEY&id=1

参数说明:

名称

类型

必填

说明

key

string

应用APPKEY(应用详细页查询)

id

string

试题分类ID

pn

int

页码(默认为第一页)

rn

int

每页返回记录条数(默认为30

返回结果:
{
    "error_code": 0,
    "reason": "Success",
    "result": [
        {
            "subjectName": "语文",
            "knowledge": "字音",
            "sourcename": "2014届高考语文语言基础知识高频考点1字音练习卷(带解析)",
            "question": "下列词语中加点的字,读音完全相同的一组是(     )
                            A.尺牍穷兵黩武渎职买椟还珠
                            B.炫耀改弦更张舷梯头晕目眩
                            C.纯粹人才荟萃淬火猝不及防
                            D.余暇闻名遐迩蒹葭白璧微瑕",
            "answer": "A",
            "resolve": ""
        }
    ]
}

 

 

0 0
原创粉丝点击