API文档示例

API文档示例


根据年份查询当年的热词

<h5>简要描述</h5> <ul> <li>根据年份查询当年的热词</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/getTopkeywordsByYear</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <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;">year</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>年份</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> 返回JSONArray 对象 [ { "publishyear": "2018", "id": 21, "keyword": "feature extraction", "type": "CVPR", "frequency": 158 }, { "publishyear": "2018", "id": 22, "keyword": "learning (artificial intelligence)", "type": "CVPR", "frequency": 145 }, { "publishyear": "2018", "id": 23, "keyword": "image segmentation", "type": "CVPR", "frequency": 99 }, { "publishyear": "2018", "id": 24, "keyword": "computer vision", "type": "CVPR", "frequency": 94 }, { "publishyear": "2018", "id": 25, "keyword": "training", "type": "CVPR", "frequency": 94 }, { "publishyear": "2018", "id": 26, "keyword": "task analysis", "type": "CVPR", "frequency": 89 }, { "publishyear": "2018", "id": 27, "keyword": "cameras", "type": "CVPR", "frequency": 88 }, { "publishyear": "2018", "id": 28, "keyword": "object detection", "type": "CVPR", "frequency": 82 }, { "publishyear": "2018", "id": 29, "keyword": "image reconstruction", "type": "CVPR", "frequency": 69 }, { "publishyear": "2018", "id": 30, "keyword": "convolution", "type": "CVPR", "frequency": 59 }, { "publishyear": "2018", "id": 41, "keyword": "deep learning", "type": "ECCV", "frequency": 39 }, { "publishyear": "2018", "id": 42, "keyword": "semantic segmentation", "type": "ECCV", "frequency": 17 }, { "publishyear": "2018", "id": 43, "keyword": "convolutional neural networks", "type": "ECCV", "frequency": 13 }, { "publishyear": "2018", "id": 44, "keyword": "convolutional neural network", "type": "ECCV", "frequency": 12 }, { "publishyear": "2018", "id": 45, "keyword": "object detection", "type": "ECCV", "frequency": 12 }, { "publishyear": "2018", "id": 46, "keyword": "domain adaptation", "type": "ECCV", "frequency": 11 }, { "publishyear": "2018", "id": 47, "keyword": "unsupervised learning", "type": "ECCV", "frequency": 10 }, { "publishyear": "2018", "id": 48, "keyword": "attention", "type": "ECCV", "frequency": 8 }, { "publishyear": "2018", "id": 49, "keyword": "computer vision", "type": "ECCV", "frequency": 8 }, { "publishyear": "2018", "id": 50, "keyword": "neural networks", "type": "ECCV", "frequency": 8 } ]</code></pre> <h5>返回参数说明</h5> <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;">publishyear</td> <td style="text-align: left;">String</td> <td>发布年份</td> </tr> <tr> <td style="text-align: left;">id</td> <td style="text-align: left;">int</td> <td>关键词id</td> </tr> <tr> <td style="text-align: left;">keyword</td> <td style="text-align: left;">String</td> <td>关键词内容</td> </tr> <tr> <td style="text-align: left;">type</td> <td style="text-align: left;">String</td> <td>类型</td> </tr> <tr> <td style="text-align: left;">frequency</td> <td style="text-align: left;">int</td> <td>频率出现次数</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li><strong>当 请求为 {&quot;year&quot;:&quot;all&quot;}</strong> 时 返回所有年份的统计 [ { &quot;publishyear&quot;: &quot;all&quot;, &quot;id&quot;: 91, &quot;keyword&quot;: &quot;computer vision&quot;, &quot;type&quot;: &quot;all&quot;, &quot;frequency&quot;: 3300 }, { &quot;publishyear&quot;: &quot;all&quot;, &quot;id&quot;: 92, &quot;keyword&quot;: &quot;feature extraction&quot;, &quot;type&quot;: &quot;all&quot;, &quot;frequency&quot;: 2779 }, { &quot;publishyear&quot;: &quot;all&quot;, &quot;id&quot;: 93, &quot;keyword&quot;: &quot;image segmentation&quot;, &quot;type&quot;: &quot;all&quot;, &quot;frequency&quot;: 2296 }, { &quot;publishyear&quot;: &quot;all&quot;, &quot;id&quot;: 94, &quot;keyword&quot;: &quot;learning (artificial intelligence)&quot;, &quot;type&quot;: &quot;all&quot;, &quot;frequency&quot;: 2197 }, { &quot;publishyear&quot;: &quot;all&quot;, &quot;id&quot;: 95, &quot;keyword&quot;: &quot;cameras&quot;, &quot;type&quot;: &quot;all&quot;, &quot;frequency&quot;: 2044 }, { &quot;publishyear&quot;: &quot;all&quot;, &quot;id&quot;: 96, &quot;keyword&quot;: &quot;object detection&quot;, &quot;type&quot;: &quot;all&quot;, &quot;frequency&quot;: 2044 }, { &quot;publishyear&quot;: &quot;all&quot;, &quot;id&quot;: 97, &quot;keyword&quot;: &quot;image reconstruction&quot;, &quot;type&quot;: &quot;all&quot;, &quot;frequency&quot;: 1667 }, { &quot;publishyear&quot;: &quot;all&quot;, &quot;id&quot;: 98, &quot;keyword&quot;: &quot;training&quot;, &quot;type&quot;: &quot;all&quot;, &quot;frequency&quot;: 1568 }, { &quot;publishyear&quot;: &quot;all&quot;, &quot;id&quot;: 99, &quot;keyword&quot;: &quot;image classification&quot;, &quot;type&quot;: &quot;all&quot;, &quot;frequency&quot;: 1383 }, { &quot;publishyear&quot;: &quot;all&quot;, &quot;id&quot;: 100, &quot;keyword&quot;: &quot;face recognition&quot;, &quot;type&quot;: &quot;all&quot;, &quot;frequency&quot;: 1169 } ]</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML