这里是自己整理的追书神器接口
分类
带书籍数量的父分类
url: http://api.zhuishushenqi.com/ranking/gender
response:
"male": [ "name": "玄幻", "bookCount": 429247 , "name": "奇幻", "bookCount": 41711 ], "female": [ "name": "古代言情", "bookCount": 338664 , "name": "现代言情", "bookCount": 395887 ... ] "press": []
带子分类的父分类
url: http://api.zhuishushenqi.com/cats/lv2
response:
"male": [ "major": "玄幻", "mins": [ "东方玄幻", "异界大陆", "异界争霸", "远古神话" ] , "major": "奇幻", "mins": [ "西方奇幻", "领主贵族", "亡灵异族", "魔法校园" ] ] ...
获取分类书籍(categoryInfo)
request:
query: gender: 'male' // 性别 type: 'reputation' // 按照不同的类型获取分类下的书籍(hot, new, reputation, over) major: '玄幻' // 父分类 minor: '东方玄幻' // 子分类 start: 0 // 起始位置 limit: 20 //每页数量
response:
_id: 书籍id title: 书籍名 author: 作者 shortIntro: 简介 cover: 封面 site: 书源 latelyFollower: 追书人数 retentionRatio: 好评率(%) lastChater: 最新章节 tag: 标签
书籍
书籍详情
url: http://api.zhuishushenqi.com/book/:id
request:
url params:
id: BookId
response:
"_id": "5106099abb1c67cf28000016", //书籍id "author": "禹枫", //作者 "cover": "/agent/http://images.zhulang.com/book_cover/image/18/98/189843.jpg", // 封面 "creater": "iPhone 4", "longIntro": "...", //长介绍 "title": "异世灵武天下", //书名 "cat": "东方玄幻", "majorCate": "玄幻", //主分类 "minorCate": "东方玄幻", //子分类 "_le": false, "allowMonthly": true, "allowVoucher": true, "allowBeanVoucher": true, "hasCp": true, "postCount": 3183, "latelyFollower": 43192, //追书人数 "followerCount": 5164, "wordCount": 11241234, //总字数 "serializeWordCount": 129762, //平均 "retentionRatio": "66.16", //好评率 "updated": "2017-01-19T05:58:53.799Z", //更新于 "isSerial": false, //连载中 "chaptersCount": 3577, //总章数 "lastChapter": "后续第五章:大结局终章", //最新章节 "gender": [ "male" ], "tags": [], "donate": false
书籍章节
这部分相对比较复杂
步骤如下:
书籍id -> 获取所有书源 -> 书源id -> 获取章节目录 -> 章节link -> 章节内容
url : http://api.zhuishushenqi.com/btoc
request:
url params:
id: BookId
以上是关于建站系列教程2.3分享一些小说的api接口的主要内容,如果未能解决你的问题,请参考以下文章
Win10系统编译Tensorflow Lite 2.3为动态链接库tensorflowlite_c.dll