GithubHelp home page GithubHelp logo

zhuishushenqi's Introduction

在线地址(支持https):

http://novel.juhe.im

注意: 如果运行在自己的服务器的话 请务必使用node 7.6 以上(因为很多模块直接用到了async,所以就算加上babel也没用, 打包过后仍然是直接引用)

部署

npm start: 启动开发服务器 通过babel转义

npm run build: 通过babel打包

api接口

获取带书籍数量的父分类

url: http://novel.juhe.im/categories

获取带子分类的分类

url: http://novel.juhe.im/sub-categories

获取分类详情

url: http://novel.juhe.im/category-info?gender=male&type=hot&major=奇幻&minor=&start=0&limit=20

query:

{
  gender, type, major(主分类), minor(子分类), start, limit
}

获取书籍详情

url: http://novel.juhe.im/book-info/53115e30173bfacb4904897e

params:

{
  id: book id
}

获取作者名下的书籍

url: http://novel.juhe.im/author-books?author=忘语

query:

{
  author: 作者名
}

获取书籍源

url: http://novel.juhe.im/book-sources?view=summary&book=567d2cb9ee0e56bc713cb2c0

query:

{
  view: summary,
  book: {bookid}
}

获取书籍章节

url: http://novel.juhe.im/book-chapters/56f8da09176d03ac1983f6cd

params:

{
  id: {书籍源id}
}

获取章节详细内容

url: http://novel.juhe.im/chapters/http%3A%2F%2Fvip.zhuishushenqi.com%2Fchapter%2F56f8da09176d03ac1983f6d7%3Fcv%3D1486473051386 // 注意这里需要进行url编码

params:

{
  link: {目录中的章节link}
}

获取搜索结果

url: http://novel.juhe.im/search?keyword=遮天

query:

{
  keyword: {书籍关键字}
}

获取排名分类

url: http://novel.juhe.im/rank-category

获取排名详情

url: http://novel.juhe.im/rank/54d42d92321052167dfb75e3

params:

{
  id: {排名分类的id}
}

演示

demo

已完成功能

书架 换源 阅读 切换章节 demo上有的未展示 换源这个功能只能说可以实现吧

欢迎加入群讨论:

群

zhuishushenqi's People

Contributors

xiadd avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.