Skip to content

OpenAHU/AnDaTongAPI

Repository files navigation

路由架构参考

express 拆分路由 - 掘金

[Express 4.x - API Reference #router](https://expressjs.com/en/4x/api.html#router

以下接口不做说明,均使用GET方法。

功能接口

图书馆查询接口

https://api.never2.top/search/book/books/:searchValue/:pageIndex
fetch("https://api.never2.top/search/book/books/你好/1", {
      "method": "GET",
      "headers": {}
})
axios({
	"method": "GET",
	"url": "https://api.never2.top/search/book/books/你好/1"
})

书籍详情

https://api.never2.top/search/book/detail/:bookID
// Request (3) (GET https://api.never2.top/search/book/detail/1601560)
fetch("https://api.never2.top/search/book/detail/1601560", {
  "method": "GET",
  "headers": {}
})
axios({
	"method": "GET",
	"url": "https://api.never2.top/search/book/detail/1601560"
})

统计接口

https://api.never2.top/collect/searchvalue

About

目前有:图书搜索API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published