## 旅游资讯 >[danger]### 会员接口,仅限会员使用,购买[API会员](https://market.topthink.com/product/210) ![](https://img.kancloud.cn/85/fb/85fba429acc7434501d6f012f22da5f8_200x200.png) >出门在外,日常居家。了解国内外旅游景点资讯,天下事尽在掌握之中。 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/news/travel ``` ### 请求参数 | 名称 | 类型 | 必填 | 说明 | | --- | --- | --- | --- | | 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->newsTravel() ->withNum(10) ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功", "data": [ { "ctime":"2018-09-20 00:00", "title":"故宫游添新看点2千多件明清家具仓储式展览", "description":"旅游资讯", "picUrl":"https://img3.utuku.china.com/200x147/travel/20180920/cc9dc0e0-5189-4f97-a665-5e01b3c27115.jpg", "url":"https://travel.china.com/hotspot/13000493/20180920/33958825.html" }, { "ctime":"2018-09-13 00:00", "title":"2018北京国际商务及会奖旅游展开幕全球350余家展商齐聚一堂", "description":"旅游资讯", "picUrl":"https://img3.utuku.china.com/200x147/travel/20180913/ad3cd024-21d7-4f5b-8f2d-c45a658fa12d.jpg", "url":"https://travel.china.com/hotspot/13000493/20180912/33880235.html" }, { "ctime":"2018-09-12 00:00", "title":"西夏陵全力冲刺申报世遗", "description":"旅游资讯", "picUrl":"https://img1.utuku.china.com/200x147/travel/20180912/5bb1e748-c764-4c48-9a27-199278b02b6c.jpg", "url":"https://travel.china.com/hotspot/13000493/20180912/33874348.html" } ] } ~~~