Tencent / Tencent/WeChatReading

`/book/info` 接口的回包数据缺少 `wordCount` 字段

Open Beginner friendly
#8 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
233
Forks
14
PR merge metrics
No merged PRs in 30d

Description

POST:
{"api_name": "/book/info", "bookId": "31503072", "skill_version": "1.0.4"}

回包:

{
  "bookId": "31503072",
  "deepLink": "https://weread.qq.com/book-detail?type=1&v=a623278071e0b2e0a622468",
  "title": "地下室手记(果麦经典)",
  "author": "陀思妥耶夫斯基",
  "translator": "曾思艺",
  "cover": "https://cdn.weread.qq.com/weread/cover/69/YueWen_31503072/t6_YueWen_31503072.jpg",
  "publisher": "浙江文艺出版社",
  "intro": "《地下室手记》是xxxxxx”",
  "newRatingCount": 8682,
  "newRating": 918,
  "category": "文学-外国文学",
  "isbn": "9787533960414",
  "newRatingDetail": {
    "good": 8123,
    "fair": 477,
    "poor": 82,
    "recent": 129,
    "deepV": 1906,
    "myRating": "",
    "title": "神作"
  },
  "publishTime": "2020-05-01 00:00:00"
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the implementation of the POST /book/info endpoint and trace how its response is assembled. Compare the response with the reported example, identify the source of the book's wordCount value, and include that field in the returned data. Verify that the endpoint now returns wordCount for the provided bookId.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.