玩瞳文档中心


相似书本获取书本信息

<p><strong>服务:</strong>api-client <strong>API:</strong><a href="http://client-api1.51wanxue.cn/api-client/book/bookInfo/{bookId">http://client-api1.51wanxue.cn/api-client/book/bookInfo/{bookId</a>} <strong>通过license授权登录的用此接口,带上端的token即可 API:</strong><a href="http://client-api1.51wanxue.com/api-client/book/bookInfo/218534?token={{token">http://client-api1.51wanxue.com/api-client/book/bookInfo/218534?token={{token</a>}} <strong>请求方式:</strong>GET <strong>api开发者:</strong> <strong>是否授权登录:</strong> 是 <strong>简要描述</strong>:通过资源库的bookId获取书本信息</p> <p><strong>参数:</strong></p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必填</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">bookId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>资源库的bookId</td> </tr> </tbody> </table> <p>请求样例:</p> <pre><code class="language-json">{     &amp;quot;code&amp;quot;: 0,     &amp;quot;msg&amp;quot;: &amp;quot;ok&amp;quot;,     &amp;quot;data&amp;quot;: {         &amp;quot;thumbnailCoverImage&amp;quot;: &amp;quot;https://files-api1.51wanxue.com/brs/content/minithumbnail/74802/af72c12d-5254-431f-987f-c4dff0ad3f1d_300x300.jpg&amp;quot;,         &amp;quot;totalPage&amp;quot;: 15,         &amp;quot;bookId&amp;quot;: 218534,         &amp;quot;securityId&amp;quot;: &amp;quot;cafc6fc4e77f42668e7a6ea9e20c7d74&amp;quot;,         &amp;quot;bookName&amp;quot;: &amp;quot;我是一只小兔子i am a bunny&amp;quot;,         &amp;quot;author&amp;quot;: &amp;quot;[美]ole risom&amp;quot;,         &amp;quot;publisher&amp;quot;: &amp;quot;外语教学与研究出版社&amp;quot;,         &amp;quot;isbn&amp;quot;: &amp;quot;9787560062129&amp;quot;,         &amp;quot;seriesTitle&amp;quot;: &amp;quot;&amp;quot;,         &amp;quot;description&amp;quot;: &amp;quot;书中有大量的知识点和有趣的插图,本来是为了丰富孩子的阅读视野买的,读过之后发现自己也能从书中收获不少知识。\n&amp;quot;,         &amp;quot;extraData&amp;quot;: &amp;quot;{\&amp;quot;uid\&amp;quot;:14424,\&amp;quot;totalPages\&amp;quot;:15,\&amp;quot;langs\&amp;quot;:[\&amp;quot;lang18\&amp;quot;,\&amp;quot;lang17\&amp;quot;,\&amp;quot;en\&amp;quot;,\&amp;quot;lang20\&amp;quot;],\&amp;quot;enableSection\&amp;quot;:true,\&amp;quot;entityType\&amp;quot;:\&amp;quot;book\&amp;quot;,\&amp;quot;coverSimilarIds\&amp;quot;:null,\&amp;quot;showImg\&amp;quot;:false}&amp;quot;,         &amp;quot;mainPage&amp;quot;: 11,         &amp;quot;resourceType&amp;quot;: 3,         &amp;quot;repos&amp;quot;: [             {                 &amp;quot;id&amp;quot;: 167,                 &amp;quot;name&amp;quot;: &amp;quot;牛听听绘本资源库&amp;quot;,                 &amp;quot;bookId&amp;quot;: 218534,                 &amp;quot;language&amp;quot;: 1,                 &amp;quot;soundRay&amp;quot;: 1,                 &amp;quot;repoType&amp;quot;: null             }         ],         &amp;quot;currentRepo&amp;quot;: {             &amp;quot;id&amp;quot;: 167,             &amp;quot;name&amp;quot;: &amp;quot;牛听听绘本资源库&amp;quot;,             &amp;quot;bookId&amp;quot;: 218534,             &amp;quot;language&amp;quot;: 1,             &amp;quot;soundRay&amp;quot;: 1,             &amp;quot;repoType&amp;quot;: null         }     } }</code></pre> <p><strong>返回参数说明</strong></p> <table> <thead> <tr> <th style="text-align: left;">字段</th> <th style="text-align: left;">类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">code</td> <td style="text-align: left;">int</td> <td>请求码返回0(表示请求成功)</td> </tr> <tr> <td style="text-align: left;">msg</td> <td style="text-align: left;">String</td> <td>Success代表成功,其他表示具体错误信息</td> </tr> </tbody> </table> <p><strong>data </strong></p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">thumbnailCoverImage</td> <td style="text-align: left;">String</td> <td>书页缩略图</td> </tr> <tr> <td style="text-align: left;">totalPage</td> <td style="text-align: left;">int</td> <td>总页数</td> </tr> <tr> <td style="text-align: left;">bookid</td> <td style="text-align: left;">int</td> <td>资源库bookid</td> </tr> <tr> <td style="text-align: left;">securityId</td> <td style="text-align: left;">String</td> <td>书本安全ID</td> </tr> <tr> <td style="text-align: left;">bookName</td> <td style="text-align: left;">String</td> <td>书名</td> </tr> <tr> <td style="text-align: left;">author</td> <td style="text-align: left;">String</td> <td>作者</td> </tr> <tr> <td style="text-align: left;">publisher</td> <td style="text-align: left;">String</td> <td>出版社</td> </tr> <tr> <td style="text-align: left;">isbn</td> <td style="text-align: left;">String</td> <td>ISBN</td> </tr> <tr> <td style="text-align: left;">seriesTitle</td> <td style="text-align: left;">String</td> <td>所属系列</td> </tr> <tr> <td style="text-align: left;">description</td> <td style="text-align: left;">String</td> <td>书本简介</td> </tr> <tr> <td style="text-align: left;">extraData</td> <td style="text-align: left;">String</td> <td>识别或者手指中返回的extradata</td> </tr> </tbody> </table>

页面列表

ITEM_HTML