## 微信精选 >[danger]### 会员接口,仅限会员使用,购买[API会员](https://market.topthink.com/product/210) ![](https://img.kancloud.cn/e2/63/e263bcb3860746c84367fa5413da303b_200x200.png) > 微信公众号热门精选文章,每小时更新。如直接复制测试工具里的url打开文章时会提示参数错误,实际返回无影响,或处理url中的字符转义问题。 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/wechat/choice ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是|string| 用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | num| 是 | int | 返回数量| | typeid | 否 | int | 分类id,1 热点 2  段子手 3 养生堂 4 私房话 5 八卦精 6  爱生活 7    财经迷 8  汽车迷 9 科技咖 10潮人帮 11 辣妈帮 12  军事 13  旅行家 14  职场人 15    美食家 16  古今通 17 学霸族 18  星座控 19 体育迷| | page| 否 | int | 分页| | src| 否 | string| 搜索指定来源微信公众号| | word| 否 | string | 检索关键词| ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | ctime | string| 发布时间 | | title | string | 文章标题 | | description | string | 文章描述或来源 | | picUrl | string | 文章封面 | | url | string | 文章地址 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->wechatChoice() ->withNum(3) ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功的返回", "data": [ { "ctime":"2015-07-17", "title":"那个抱走王明涵的,你上微信吗?看完这个你会心软吗?", "description":"中国传统文化", "picUrl":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-667708.jpg/640", "url":"http://mp.weixin.qq.com/s?__biz=MzA3OTg2NjEwNg==" }, { "ctime":"2015-06-12", "title":"深悦地产风云榜丨房地产微信公众号一周榜单", "description":"深悦会", "picUrl":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-530408.jpg/640", "url":"http://mp.weixin.qq.com/s?__biz=MjM5NTI4NDk0Mg==" }, { "ctime":"2015-06-14", "title":"一条微信向全世界宣告,这就是惠州!", "description":"西子湖畔", "picUrl":"http://zxpic.gtimg.com/infonew/0/wechat_pics_-536516.jpg/640", "url":"http://mp.weixin.qq.com/s?__biz=MjM5NTAzMDQ0MA==" } ] } ~~~