影视资讯

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

## 影视资讯 >[danger]### 会员接口,仅限会员使用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/b8/39/b83910a3df085b6803797901fa341541_200x200.png) > 影视新闻接口、电影预告、点评、周边资讯等。 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/news/movie ``` ### 请求参数 | 名称 | 类型 | 必填 | 说明 | | --- | --- | --- | --- | | 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->newsMovie() ->withNum(10) ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功", "data": [ { "ctime":"2019-11-05 20:18", "title":"天海祐希确定参演《赌博默示录》真人电影最新预告公布", "description":"cnbeta影视", "picUrl":"https://static.cnbetacdn.com/thumb/mini/article/2019/1030/5343d8282678568.png", "url":"//hot.cnbeta.com/articles/movie/904905.htm" }, { "ctime":"2019-11-01 16:26", "title":"李国庆怒赞《少年的你》:好久没有看到这么好国产电影了", "description":"cnbeta影视", "picUrl":"https://static.cnbetacdn.com/thumb/mini/article/2019/1030/d5e9859941dd312.png", "url":"//hot.cnbeta.com/articles/movie/904909.htm" }, { "ctime":"2019-11-05 20:18", "title":"HBO宣布预定《权力的游戏》衍生剧《HouseoftheDragon》", "description":"cnbeta影视", "picUrl":"https://static.cnbetacdn.com/thumb/mini/article/2019/1030/52c9f5ac6374b45.jpg", "url":"//hot.cnbeta.com/articles/movie/904923.htm" } ] } ~~~
';