汽车新闻

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

## 汽车新闻 >[danger]### 会员接口,仅限会员使用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/82/a5/82a5c424b39da857bd0dfcab63c0fbf1_250x200.png) > 汽车新闻资讯,车市行价、新车资讯、车企动态等。 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/news/auto ``` ### 请求参数 | 名称 | 类型 | 必填 | 说明 | | --- | --- | --- | --- | | 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->newsAuto() ->withNum(10) ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功", "data": [ { "ctime":"2019-05-13 19:29", "title":"中国4月份汽车销量同比下降14.6% 连续第10个月下滑", "description":"新浪汽车", "picUrl":"http://k.sinaimg.cn/n/auto/695/w898h597/20190513/1264-hwsffzc8476251.png/w360h240l50t1a7c.jpg", "url":"http://auto.sina.com.cn/news/hy/2019-05-13/detail-ihvhiqax8354557.shtml" }, { "ctime": "2019-05-13 19:29", "title":"成品油价或迎年内第二降 加满一箱油将少花3元", "description":"新浪汽车", "picUrl":"http://k.sinaimg.cn/n/auto/transform/150/w570h380/20190513/47aa-hwsffzc8528841.jpg/w360h240l50t17e6.jpg", "url":"http://auto.sina.com.cn/news/hy/2019-05-13/detail-ihvhiews1548664.shtml" }, { "ctime": "2019-05-13 19:29", "title": "车市下滑库存攀高!长安、奇瑞、荣威等17个品牌4月库存深度超两月", "description":"新浪汽车", "picUrl":"http://k.sinaimg.cn/n/auto/transform/150/w570h380/20190513/68df-hwsffzc8551431.png/w360h240l50t1c0f.jpg", "url":"http://auto.sina.com.cn/news/hy/2019-05-13/detail-ihvhiews1550567.shtml" } ] } ~~~
';