obsidian-weread-plugin/weread-api.md at master · zhaohongxuan/obsidian-weread-plugin
2022-5-14 21:26:23 Author: github.com(查看原文) 阅读量:49 收藏

Permalink

Endpoints


Weread API

1. Weread 获取书籍的热门划线

Endpoint:

Method: GET
Type: 
URL: https://i.weread.qq.com/book/bestbookmarks

Headers:

Key Value Description
Host i.weread.qq.com
Connection keep-alive
Upgrade-Insecure-Requests 1
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3
Accept-Encoding gzip, deflate, br
Accept-Language zh-CN,zh;q=0.9,en;q=0.8

Query params:

Key Value Description
bookId 26785321

2. Weread 获取书籍详情

Endpoint:

Method: GET
Type: 
URL: https://i.weread.qq.com/book/info

Headers:

Key Value Description
Host i.weread.qq.com
Connection keep-alive
Upgrade-Insecure-Requests 1
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3
Accept-Encoding gzip, deflate, br
Accept-Language zh-CN,zh;q=0.9,en;q=0.8

Query params:

Key Value Description
bookId 26785321

3. Weread 获取书籍个人想法

Endpoint:

Method: GET
Type: 
URL: https://i.weread.qq.com/review/list

Headers:

Key Value Description
Host i.weread.qq.com
Connection keep-alive
Upgrade-Insecure-Requests 1
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3
Accept-Encoding gzip, deflate, br
Accept-Language zh-CN,zh;q=0.9,en;q=0.8

Query params:

Key Value Description
bookId 26785321
listType 11
mine 1
synckey 0
listMode

4. Weread 获取书籍划线

Endpoint:

Method: GET
Type: 
URL: https://i.weread.qq.com/shelf/sync

Headers:

Key Value Description
Host i.weread.qq.com
Connection keep-alive
Upgrade-Insecure-Requests 1
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3
Accept-Encoding gzip, deflate, br
Accept-Language zh-CN,zh;q=0.9,en;q=0.8

Query params:

Key Value Description
userVid 15707910
synckey 0
lectureSynckey 0

5. Weread 获取用户的Notebook

Endpoint:

Method: GET
Type: 
URL: https://i.weread.qq.com/user/notebooks

Headers:

Key Value Description
Host i.weread.qq.com
Connection keep-alive
Upgrade-Insecure-Requests 1
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3
Accept-Encoding gzip, deflate, br
Accept-Language zh-CN,zh;q=0.9,en;q=0.8

Back to top

Generated at 2022-05-13 07:58:06 by docgen


文章来源: https://github.com/zhaohongxuan/obsidian-weread-plugin/blob/master/docs/weread-api.md#1-weread-%E8%8E%B7%E5%8F%96%E4%B9%A6%E7%B1%8D%E7%9A%84%E7%83%AD%E9%97%A8%E5%88%92%E7%BA%BF
如有侵权请联系:admin#unsafe.sh