Skip to content

JavDriver/zhuishu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

追书神器

api

书名自动补全

:query := (url-encode-url "雪鹰")

POST http://localhost:8080/book/auto-complete
Content-Type: application/x-www-form-urlencoded

query=:query

书名模糊查询

:query := (url-encode-url "雪鹰领主")

POST http://localhost:8080/book/fuzzy-search
Content-Type: application/x-www-form-urlencoded

query=:query

书籍详情

:book-id = 557e0b2bdcfc794e1a1cd8b2

GET http://localhost:8080/book/:book-id

书籍来源

:book-id = 557e0b2bdcfc794e1a1cd8b2

GET http://localhost:8080/book-source/:book-id

书籍章节

:source-id = 5836b1489ff7f037434e5905

GET http://localhost:8080/book-toc/:source-id

书籍混源章节

:book-id = 557e0b2bdcfc794e1a1cd8b2

GET http://localhost:8080/book-mix-toc/:book-id

章节内容

POST http://localhost:8080/book-chapter
Content-Type: application/x-www-form-urlencoded

name=%E9%9B%AA%E9%B9%B0&chapter_link=http%3A%2F%2Fwww.sanjiangge.com%2Fbook%2F43%2F43782%2F18141124.html

原始api

自动补全书名

:query = 雪鹰

GET http://api.zhuishushenqi.com/book/auto-complete?query=:query

搜索书籍

:query = 雪鹰领主
:start = 0
:limit = 1

GET http://api.zhuishushenqi.com/book/fuzzy-search?query=:query&start=:start&limit=:limit

书籍详情

:book-id = 557e0b2bdcfc794e1a1cd8b2

GET http://api.zhuishushenqi.com/book/:book-id

书源信息

:view = summary
:book-id = 557e0b2bdcfc794e1a1cd8b2

GET http://api.zhuishushenqi.com/toc?view=:view&book=:book-id

章节详情

:chapter_link = http%3a%2f%2fbook.my716.com%2fgetBooks.aspx%3fmethod%3dcontent%26bookId%3d1127281%26chapterFile%3dU_1212539_201701211420571844_4093_2.txt
:k = 2124b73d7e2e1945
:t = 1468223717

GET http://chapter2.zhuishushenqi.com/chapter/:chapter_link?k=:k&t=:t

章节列表

:view = chapters
:source-id = 571155c9f3ddaf23050e53b4

GET http://api.zhuishushenqi.com/toc/:source-id?view=:view

混合章节列表

:book-id = 557e0b2bdcfc794e1a1cd8b2

GET http://api.zhuishushenqi.com/mix-toc/:book-id

About

练手练手

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%