科学探索

最后更新于:2022-04-02 08:20:29

## 科学探索 >[danger]### 会员接口,仅限会员使用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/08/29/082964dc8179a7982f499ad2910a3a98_200x200.png) > 探索宇宙和科学的真相,科学、宇宙、航天科技新闻资讯接口。 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/news/sicprobe ``` ### 请求参数 | 名称 | 类型 | 必填 | 说明 | | --- | --- | --- | --- | | appCode| string| 是|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | num | int | 是 | 返回数量1-50,默认10 | | page | int | 否 | 翻页 | | word | string | 否 | 检索关键词 | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | ctime | string | 时间 | | title | string | 标题 | | description | string | 描述 | | picUrl | string | 封面 | | url | string | 链接 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->newsSicprobe() ->withNum(10) ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功", "data": [ { "ctime":"2019-07-31 20:53", "title":"通过卫星连接的信号标签可用于更长时间跟踪虎鲨", "description":"科学探索", "picUrl":"https://static.cnbetacdn.com/thumb/mini/article/2019/0729/0f9ed4054006afb.jpg", "url":"https://www.cnbeta.com/articles/science/872703.htm" }, { "ctime":"2019-07-31 20:53", "title":"科学家制造出新隐形眼镜当你眨眼两次时会实现变焦", "description":"科学探索", "picUrl":"https://static.cnbetacdn.com/thumb/mini/article/2019/0729/c5ea167e94f29df.png", "url":"https://www.cnbeta.com/articles/science/872709.htm" }, { "ctime":"2019-07-31 09:50", "title":"JAXA发布隼鸟2号抓取样本新视频", "description":"科学探索", "picUrl":"https://static.cnbetacdn.com/thumb/mini/article/2019/0729/59c9077e4cc5997.png", "url":"https://www.cnbeta.com/articles/science/872745.htm" } ] } ~~~
';