1.ISBN查询图书
请求方式 | 接口地址 |
get | /openApi/getInfoByIsbn |
请求参数:
字段 | 参数类型 | 是否必填 | 说明 |
appKey | string | Y | 下发的令牌 |
isbn | string | Y | ISBN书号 |
vx 809137232
返回值说明:
{
"code": 0,
"data": {
"isbn": "书号",
"bookName": "书名",
"author": "作者",
"press": "出版社",
"pressDate": "出版日期",
"pressPlace": "出版地",
"price": "价格(单位:分)",
"pictures": "封面(数组类型的字符串,可能包含多张封面)",
"clcCode": "中图法分类号",
"clcName": "中图法分类名",
"bookDesc": "图书简介",
"binding": "平装订方式",
"language": "语言",
"format": "开本",
"pages": "页数",
"edition": "版次",
"words": "字数"
},
"success": true
}
2.书名分页查询图书
请求方式 | 接口地址 |
get | /openApi/book/page |
请求参数:
字段 | 参数类型 | 是否必填 | 说明 |
appKey | string | Y | 下发的令牌 |
bookName | int | Y | 书名 |
current | int | Y | 当前页 |
示例:https://data.isbn.work/openApi/book/page?appKey=ae1718d4587744b0b79f940fbef69e77&bookName=我们¤t=1
返回值说明:
{
"code": 0,
"data": {
"records": [
{
"isbn": "750851581",
"bookName": "我们的60年",
"author": "孙冉",
"press": "五洲传播出版社",
"pressDate": "2009-07-22",
"pressPlace": "",
"price": 2800,
"pictures": "[\"https://image12.bookschina.com/2013/20130505/s4317177.jpg\"]",
"clcCode": "",
"bookDesc": "",
"binding": "",
"language": "",
"format": "",
"pages": "",
"edition": "",
"words": ""
}
],
"total": "总条数",
"size": "每页条数",
"current": "当前页",
"pages": "总页数"
},
"success": true
}
3.接口剩余可用次数
请求方式 | 接口地址 |
get | /openApi/getAvaliableTimes |
请求参数:
字段 | 参数类型 | 是否必填 | 说明 |
appKey | string | Y | 下发的令牌 |
interfaceId | int | N | 接口id |
示例:https://data.isbn.work/openApi/getAvaliableTimes?appKey=xxxx&interfaceId=1
返回值说明:
{
"code": 0,
"data": 剩余次数,
"success": true
}