疾病禁忌食物

最后更新于:2022-04-02 08:25:01

## 疾病禁忌食物(维护中) >[danger]### 免费接口,每日100次免费调用,会员可不限次数调用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/ee/a6/eea6aeb7c307326f6c1d6e45cc7bbf12_200x200.png) > 查询某个疾病的食物禁忌 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/gstore/taboo_food ``` ### 请求参数 | 名称 | 类型 | 必填 | 说明 | | --- | --- | --- | --- | | appCode| string|是|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | disease| string | 是 | 疾病名称 | ### 返回`data`参数 参考返回示例 ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->gstoreTabooFood() ->withDisease('糖尿病') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功", "data": [ "奶酪", "肥甘厚味食物", "虾米" ] } ~~~
';

症状查疾

最后更新于:2022-04-02 08:24:59

## 症状查疾(维护中) >[danger]### 免费接口,每日100次免费调用,会员可不限次数调用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/af/7e/af7e24858150a35b2c15dc803b74c581_200x200.png) > 查询某个症状可能的疾病信息 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/gstore/disease ``` ### 请求参数 | 名称 | 类型 | 必填 | 说明 | | --- | --- | --- | --- | | appCode| string|是|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | symptom| string | 是 | 症状名称 | ### 返回`data`参数 参考返回示例 ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->gstoreDisease() ->withSymptom('发烧') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功", "data": [ "普通感冒", "晒伤" ] } ~~~
';

疾病症状

最后更新于:2022-04-02 08:24:56

## 疾病症状(维护中) >[danger]### 免费接口,每日100次免费调用,会员可不限次数调用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/0f/6a/0f6afaf392584a7251d927447e42ea58_200x200.png) > 查询某个疾病的所有症状 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/gstore/symptom ``` ### 请求参数 | 名称 | 类型 | 必填 | 说明 | | --- | --- | --- | --- | | appCode| string|是|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | disease| string | 是 | 疾病名称 | ### 返回`data`参数 参考返回示例 ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->gstoreSymptom() ->withDisease('冠心病') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功", "data": [ "休克", "恶心", "头晕", "心悸", "胸闷", "多汗", "晕厥", "胸痛", "右心衰竭", "心律失常", "皮肤湿冷", "不典型胸痛", "憋气", "胸闷憋气", "剧烈的烧灼样疼痛", "劳累后胸痛", "呼吸短促", "心前区刺痛", "心律不齐", "皮肤灰白", "胸部压迫窒息感", "胸部疼痛发作,可伴有虚脱", "胸骨后或心前区剧痛", "脉搏细微", "重病病容", "闷胀感" ] } ~~~
';

生活小窍门

最后更新于:2022-04-02 08:24:54

## 生活小窍门 >[danger]### 会员接口,仅限会员使用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/4a/74/4a746084947b756147d703ec84635cd9_200x200.png) > 随机返回一条日常生活小技巧、小窍门,字数在210字以内。 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/life/tip ``` ### 请求参数 无 ### 返回`data`参数 | 名称 | 类型 | 示例值 | 说明 | | --- | --- | --- | --- | | content | string | 煮蛋时,若在水中加入少许食盐,蛋壳就不易破裂。 | 内容 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->lifeTip() ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功", "data": [ { "content":"煮蛋时,若在水中加入少许食盐,蛋壳就不易破裂。" } ] } ~~~
';

金额转大写

最后更新于:2022-04-02 08:24:52

## 金额转大写 >[danger]### 会员接口,仅限会员使用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/ea/25/ea2582b9de9645da5fe98e3f3436ccb7_128x128.png) > 将小写的阿拉伯数字转为中文大写或英文大写的金额数字,返回结果同时包含中英文大写金额并指定英文结尾的单位。注意,输入的金额为国内习惯,不能有逗号,且金额不得超过1万亿。 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/money/convert ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | money| 是 | string | 金额阿拉伯数字| ### 返回`data`参数 | 名称 | 类型 | 示例值 | 说明 | | --- | --- | --- | --- | | cnresult | string | 陆拾陆万陆仟陆佰陆拾陆元陆角陆分 | 中文大写金额 | | fnresult | string | 666,666.66 | 西式的三位分节法数字 | | enresult | string | SIX HUNDRED SIXTY-SIX THOUSAND AND SIX HUNDRED SIXTY-SIX DOLLARS AND SIXTY-SIX CENTS ONLY | 英语大写金额 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->moneyConvert() ->withMoney('666666.66') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功的返回", "data": { "cnresult":"陆拾陆万陆仟陆佰陆拾陆元陆角陆分", "fnresult":"666,666.66", "enresult":"SIX HUNDRED SIXTY-SIX THOUSAND AND SIX HUNDRED SIXTY-SIX DOLLARS AND SIXTY-SIX CENTS ONLY" } } ~~~
';

驾照题库

最后更新于:2022-04-02 08:24:50

## 驾照题库 >[danger]### 免费接口,每日100次免费调用,会员可不限次数调用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/41/4c/414cdacd85519853fdbfc0a7e15bcf42_168x138.png) > 采用公安部2019最新驾校模拟考试题库 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/driving/query ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | subject | 是 | int | 选择考试科目类型,1:科目1;4:科目4 | | model | 是 | string | 驾照类型,可选择参数为:c1,c2,a1,a2,b1,b2;当subject=4时可省略 | | testType | 否 | string | 测试类型,rand:随机测试(随机100个题目),order:顺序测试(所选科目全部题目) | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | question| string | 问题| | answer| string | 答案 | | item1| string | 选项1,当内容为空时表示判断题正确选项 | | item2| string | 选项2,当内容为空时表示判断题错误选项 | | item3| string | 选项3 | | item4| string | 选项4 | | explains|string|答案解释| | url|string|图片URL地址| 当四个选项都为空的时候表示判断题,item1:正确 item2:错误,请开发者自行判断! answer答案字段对应解析: ``` "1": "A或者正确", "2": "B或者错误", "3": "C", "4": "D", "7": "AB", "8": "AC", "9": "AD", "10": "BC", "11": "BD", "12": "CD", "13": "ABC", "14": "ABD", "15": "ACD", "16": "BCD", "17": "ABCD" ``` ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->drivingQuery() ->withSubject(1) ->withModel('c1') ->withTestType('rand') ->request(); dump($result); ``` 返回数据示例: ~~~ { "code": 0, "message": "成功", "data": { { "id": 12, "question": "这个标志是何含义?",//问题 "answer": "4",//答案 "item1": "前方40米减速",//选项,当内容为空时表示判断题正确选项 "item2": "最低时速40公里",//选项,当内容为空时表示判断题错误选项 "item3": "限制40吨轴重", "item4": "限制最高时速40公里", "explains": "限制最高时速40公里:表示该标志至前方限制速度标志的路段内,机动车行驶速度不得超过标志所示数值。此标志设在需要限制车辆速度的路段的起点。以图为例:限制行驶时速不得超过40公里。",//答案解释 "url": "http://images.juheapi.com/jztk/c1c2subject1/12.jpg"//图片url } ... }, } ~~~
';

彩票查询

最后更新于:2022-04-02 08:24:47

## 彩票查询 >[danger]### 免费接口,每日100次免费调用,会员可不限次数调用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/c5/69/c5696f36fff0199247eafddb43b20620_174x165.png) > 目前支持双色球、大乐透、七乐彩、七星彩、福彩3D、排列3、排列5,数据来源于网络公开,开奖结果获取可能会有一定的延时。 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ## 接口1:支持彩种列表 ### 请求地址 ``` GET https://api.topthink.com/lottery/types ``` ### 请求参数 无 ### 返回参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | 见JSON返回示例 | \- | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->lotteryTypes() ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功的返回", "data": [ { "lottery_id": "ssq", "lottery_name": "双色球", "lottery_type_id": "1", "remarks": "每周二、四、日开奖" }, { "lottery_id": "dlt", "lottery_name": "超级大乐透", "lottery_type_id": "2", "remarks": "每周一、三、六开奖" }, { "lottery_id": "qlc", "lottery_name": "七乐彩", "lottery_type_id": "1", "remarks": "每周一、三、五开奖" }, { "lottery_id": "fcsd", "lottery_name": "福彩3D", "lottery_type_id": "1", "remarks": "每日开奖" }, { "lottery_id": "qxc", "lottery_name": "七星彩", "lottery_type_id": "2", "remarks": "每周二、五、日开奖" }, { "lottery_id": "pls", "lottery_name": "排列3", "lottery_type_id": "2", "remarks": "每日开奖" }, { "lottery_id": "plw", "lottery_name": "排列5", "lottery_type_id": "2", "remarks": "每日开奖" } ] } ~~~ ## 接口2:彩票开奖结果查询 ### 请求地址 ``` GET https://api.topthink.com/lottery/query ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | lotteryId | 是 | string | 彩票ID | | lotteryNo | 否 | string | 彩票期号,默认最新一期 | ### 返回参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | 见JSON返回示例 | \- | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->lotteryQuery() ->withLotteryId('ssq') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功的返回", "data": [ "lottery_id": "ssq", "lottery_name": "双色球", "lottery_res": "03,08,11,14,18,23,16", "lottery_no": "18028", "lottery_date": "2018-03-13", "lottery_exdate": "2018-05-11", "lottery_sale_amount": "352,015,830", "lottery_pool_amount": "578,094,167", "lottery_prize": [ { "prize_name": "一等奖", "prize_num": "7", "prize_amount": "7,676,997", "prize_require": "6+1" }, { "prize_name": "二等奖", "prize_num": "220", "prize_amount": "106,471", "prize_require": "6+0" }, { "prize_name": "三等奖", "prize_num": "1869", "prize_amount": "3,000", "prize_require": "5+1" }, { "prize_name": "四等奖", "prize_num": "82708", "prize_amount": "200", "prize_require": "5+0,4+1" }, { "prize_name": "五等奖", "prize_num": "1493643", "prize_amount": "10", "prize_require": "4+0,3+1" }, { "prize_name": "六等奖", "prize_num": "8341565", "prize_amount": "5", "prize_require": "2+1,1+1,0+1" } ] ] } ~~~ ## 接口3:历史开奖结果查询 ### 请求地址 ``` GET https://api.topthink.com/lottery/history ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | lotteryId | 是 | string | 彩票ID | | pageSize | 否 | string | 每次返回条数,默认10,最大50 | | page | 否 | string | 当前页数,默认1 | ### 返回参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | 见JSON返回示例 | \- | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->lotteryHistory() ->withLotteryId('ssq') ->withPagesize('2') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功的返回", "data": [ "lotteryResList":[ { "lottery_id":"ssq", "lottery_res":"03,07,16,17,23,30,07", "lottery_no":"20084", "lottery_date":"2020-09-01", "lottery_exdate":"2020-10-30", "lottery_sale_amount":"340,223,360", "lottery_pool_amount":"997,837,500" }, { "lottery_id":"ssq", "lottery_res":"01,19,25,26,30,31,12", "lottery_no":"20083", "lottery_date":"2020-08-30", "lottery_exdate":"2020-10-28", "lottery_sale_amount":"375,628,538", "lottery_pool_amount":"1,046,377,044" } ], "page":1, "pageSize":2, "totalPage":1296 ] } ~~~ ## 接口4:中奖计算器 ### 请求地址 ``` GET https://api.topthink.com/lottery/bonus ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | lotteryId | 是 | string | 彩票ID | | lotteryRes | 是 | string | 购买的号码,号码之间用英文逗号隔开,红色球和蓝色求之间用@连接,例如:01,11,02,09,14,22,25@05,03 | | lotteryNo | 否 | string | 开奖期数,默认最新一期 | ### 返回参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | 见JSON返回示例 | \- | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->lotteryBonus() ->withLotteryId('ssq') ->withLotteryRes('01,11,02,09,14,22,25@05,03') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功的返回", "data": [ "lottery_id": "ssq", "lottery_name": "双色球", "lottery_no": "18029", "lottery_date": "2018-03-15", "real_lottery_res": "01,02,09,14,22,25,05", "lottery_res": "01,11,02,09,14,22,25@05,03", "in_money": "28", "buy_red_ball_num": "7", "buy_blue_ball_num": "2", "hit_red_ball_num": "6", "hit_blue_ball_num": "1", "is_prize": "1", "prize_msg": "恭喜您中奖了", "lottery_prize": [ { "prize_name": "一等奖", "prize_require": "6+1", "prize_num": "1", "prize_money": "8,926,329" }, { "prize_name": "二等奖", "prize_require": "6+0", "prize_num": "1", "prize_money": "288,700" }, { "prize_name": "三等奖", "prize_require": "5+1", "prize_num": "6", "prize_money": "3,000" }, { "prize_name": "四等奖", "prize_require": "4+1,5+0", "prize_num": "6", "prize_money": "200" } ] ] } ~~~
';

导演电影查询

最后更新于:2022-04-02 08:24:45

## 导演电影查询(维护中) >[danger]### 免费接口,每日100次免费调用,会员可不限次数调用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/74/df/74df1c596ecea6538284545b1eb50377_200x200.png) > 根据导演查询拍摄的电影信息 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/gstore/movie_by_director ``` ### 请求参数 | 名称 | 类型 | 必填 | 说明 | | --- | --- | --- | --- | | appCode| string|是|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | director| string | 是 | 导演名称 | ### 返回`data`参数 参考返回示例 ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->gstoreMovieByDirector() ->withDirector('赵薇') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功", "data": [ { "地区": [ "中国", "中国大陆" ], "语言": [ "普通话", "汉语" ], "首播": [ "2016" ], "imdbID": [ "tt2765340" ], "片名": [ "致我们终将逝去的青春", "致青春", "So Young", "To Our Youth That Is Fading Away", "电视剧版《致青春》" ], "主演": [ "赵又廷", "宫哲", "郑恺", "韩庚", "佟丽娅", "黄明", "刘雅瑟", "杨子姗", "王森", "包贝尔", "黄小蕾", "王嘉佳", "张瑶", "江疏影", "韩红", "杨澜", "崔文璐" ], "评价人数": [ "0", "282754" ], "评分": [ "6.7" ], "导演": [ "赵薇", "杨文军" ], "上映日期": [ "2013-04-26(中国大陆)", "2014-05-01(台湾)" ], "doubanURL": [ "http://movie.douban.com/subject/6973376/", "http://movie.douban.com/subject/24859459/" ], "片长": [ "132分钟" ], "标题": "致我们终将逝去的青春", "编剧": [ "李樯", "辛夷坞" ], "类型": [ "电影", "剧情片", "爱情片" ] } ] } ~~~
';

演员共演电影

最后更新于:2022-04-02 08:24:43

## 演员共演电影 >[danger]### 免费接口,每日100次免费调用,会员可不限次数调用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/ed/eb/edeba56ed84266f26bb60bbd26b7f809_200x200.png) > 查询两个演员共同出演过的电影信息 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/gstore/movie_by_actors ``` ### 请求参数 | 名称 | 类型 | 必填 | 说明 | | --- | --- | --- | --- | | appCode| string|是|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | actor1| string | 是 | 演员1 | | actor2| string | 是 | 演员2 | ### 返回`data`参数 参考返回示例 ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->gstoreMovieByActors() ->withActor1('刘德华') ->withActor2('王宝强') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功", "data": [ { "地区": [ "中国", "香港", "中国大陆" ], "语言": [ "普通话", "汉语" ], "imdbID": [ "tt0439884" ], "片名": [ "天下无贼", "A World Without Thieves" ], "主演": [ "葛优", "傅彪", "李冰冰", "刘若英", "冯远征", "林家栋", "范伟", "刘德华", "张涵予", "王宝强", "徐帆", "尤勇" ], "评价人数": [ "173429" ], "评分": [ "7.6" ], "导演": [ "冯小刚" ], "上映日期": [ "2004-12-09(中国大陆)" ], "doubanURL": [ "http://movie.douban.com/subject/1291550/" ], "片长": [ "113分钟/100分钟" ], "标题": "天下无贼", "编剧": [ "冯小刚", "张家鲁", "王刚", "林黎胜" ], "类型": [ "电影", "剧情片", "犯罪片", "动作片" ] } ] } ~~~
';

影讯API合集

最后更新于:2022-04-02 08:24:40

## 影讯API合集(不再维护) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/c1/25/c1254945e040af6434ce331e852b6b62_228x213.png) > 影片信息、评分、影视票房榜,电影院上映信息等API ## 接口费用( [点击购买](https://market.topthink.com/product/322)) > 最低 0.01元/次 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ## 接口1:关键字检索影片信息 ### 请求地址 ``` GET https://api.topthink.com/movie/search ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | title | 是 | string | 需要检索的影片标题,utf8编码的urlencode | | smode | 否 | int | 是否精确查找,精确:1 模糊:0 默认1 | | pagesize | 否 | int | 每次返回条数,默认20,最大50 | | offset | 否 | int | 偏移量,默认0,最大760 | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | --- | | movieid | string | 影片唯一标识ID | | actors | string | 影片的演员列表。 | | also\_known\_as | string | 影片的其它名称。 | | country | string | 影片的拍摄国家。 | | directors | string | 影片的导演列表。 | | film\_locations | string | 影片的拍摄地。 | | genres | string | 影片的分类。(如:戏剧,战争) | | language | string | 影片的对白使用的语言。 | | plot\_simple | String | 影片的剧情概要。 | | poster | String | 影片的海报。 | | rated | String | 影片的分类与评级。 | | rating | string | 影片的得分。 | | rating\_count | string | 影片的评分人数。 | | release\_date | Int | 影片的上映时间。 | | runtime | string | 影片的持续时间。 | | title | string | 影片的名称。 | | type | string | 影片类型. | | writers | string | 影片的编剧列表。 | | year | Int | 影片的拍摄年代。 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->airSearch() ->withCity('苏州') ->request(); dump($result); ``` 返回示例 ``` { "code": 0, "message": "成功", "data":[ { "movieid": "10641", "rating": "7.3", "genres": "动作/惊悚/科幻", "runtime": "139 min", "language": "英语/法语/日语", "title": "哥斯拉", "poster": "http://v.juhe.cn/movie/img?5146", "writers": "迪安·德夫林,罗兰·艾默里奇,...", "film_locations": "美国", "directors": "罗兰·艾默里奇", "rating_count": "3191", "actors": "马修·布罗德里克 Matthew Broderick,让·雷诺 Jean Reno,玛丽亚·皮提罗 Maria Pitillo,汉克·阿扎利亚 Hank Azaria", "plot_simple": "一道亮光划过天际,太平洋上波涛汹涌,海浪以不可思议的速度将一架货机卷入海里;巴哈马丛林中,出现了巨大的脚印;一股神秘的力量一直朝纽约而来,这座人口稠密的都市即将受到这个怪兽“哥斯拉”的袭击。“哥斯拉”是因为核试验造成气..", "year": "1998", "country": "美国", "type": "null", "release_date": "19980518", "also_known_as": "酷斯拉,怪兽哥斯拉" }, { "movieid": "133175", "rating": "-1", "genres": "动画/短片/喜剧", "runtime": "2 min", "language": "无", "title": "小鹿斑比遇见哥斯拉", "poster": "http://v.juhe.cn/movie/img?14923", "writers": "Marv Newland", "film_locations": "加拿大", "directors": "Marv Newland", "rating_count": "7", "actors": "", "plot_simple": "null", "year": "1969", "country": "加拿大", "type": "null", "release_date": "20090418", "also_known_as": "" } ] } ``` ## 接口2:检索周边影院 ### 请求地址 ``` GET https://api.topthink.com/movie/cinemas ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | lat | 是 | string | 纬度,百度地图坐标系 | | lon | 是 | string | 经度,百度地图坐标系 | | radius | 是 | string | 检索半径(米),最大3000 | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | id | string | 电影院ID | | cityName | string | 影院所属城市 | | cinemaName | string | 影院名称 | | address | string | 影院地址 | | telephone | string | 联系电话 | | latitude | double | 纬度,适合百度地图 | | longitude | double | 经度,适合百度地图 | | trafficRoutes | string | 交通路线 | | distance | string | 大概距离(米) | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->movieCinemas() ->withLat('31.30947') ->withLon('31.30947') ->withRadius(2000) ->request(); dump($result); ``` 返回结果示例: ``` { "code": 0, "message": "成功", "data":[ { "id": "1190", "cityName": "苏州", "cinemaName": "苏州幸福蓝海IMAX影城", "address": "苏州市广济南路219号新苏天地9楼", "telephone": "0512-65899658", "latitude": "31.30947", "longitude": "120.6003", "trafficRoutes": "", "distance": 0 }, { "id": "1196", "cityName": "苏州", "cinemaName": "金逸苏州石路永捷店", "address": "苏州市姑苏区广济南路19号西城永捷生活广场6楼", "telephone": "0512-65703050", "latitude": "31.30411", "longitude": "120.6012", "trafficRoutes": "游1、7路、88路、204路、34路、", "distance": 603 }, { "id": "1201", "cityName": "苏州", "cinemaName": "苏州橙天嘉禾影城(来客茂店)", "address": "苏州金阊区桐泾北路218号来客茂时尚生活广场4F", "telephone": "0512-86860919", "latitude": "31.31268", "longitude": "120.5894", "trafficRoutes": "311路、400路上行、游5路、317路、949路、441路、34路,到西园东站下车", "distance": 1097 }, { "id": "1210", "cityName": "苏州", "cinemaName": "苏州星美影城(李公堤店)即将开业", "address": "苏州市工业园区李公堤四期一幢", "telephone": "", "latitude": "31.29889", "longitude": "120.5853", "trafficRoutes": "178、207、100、168路公交到达", "distance": 1850 } ] } ``` ## 接口3:关键字影院检索 ### 请求地址 ``` GET https://api.topthink.com/movie/cinema_search ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | |  cityid | 是 | string | 城市ID(参考支持城市列表接口) | |  keyword | 否 | string | 关键字,urlencode utf8 | |  page | 否 | int | 页数,默认1 | |  pagesize | 否 | int | 每页返回条数,默认20,最大20 | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | id | string | 电影院ID | | cityName | string | 影院所属城市 | | cinemaName | string | 影院名称 | | address | string | 影院地址 | | telephone | string | 联系电话 | | latitude | double | 纬度,适合百度地图 | | longitude | double | 经度,适合百度地图 | | trafficRoutes | string | 交通路线 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->movieCinemaSearch() ->withCityId(2) ->request(); dump($result); ``` 返回结果示例: ``` { "code": 0, "message": "成功", "data":[ { "id": "141", "cityName": "北京", "cinemaName": "北京博纳影城朝阳门旗舰店", "address": "北京市朝阳区三丰北里2号楼悠唐生活广场B1层(朝阳门钱柜对面)", "telephone": "010-59775660", "latitude": "39.92223", "longitude": "116.4388", "trafficRoutes": "乘坐101电,109电,110,112电,420,750路公交在朝阳门外站下车,悠唐生活广场地下一层" }, { "id": "142", "cityName": "北京", "cinemaName": "北京橙天嘉禾吉彩影城", "address": "北京海淀区玉海园五里22号配套商业楼(原吉彩体育馆)", "telephone": "", "latitude": "39.92282", "longitude": "116.2596", "trafficRoutes": "地铁一号线 玉泉路下车,B2出口出,乘坐507、78、981、612、运通114 玉海园东门下车即到。" }, { "id": "143", "cityName": "北京", "cinemaName": "首都电影院(金融街店)", "address": "金融大街18号金融街购物中心二期地下一层", "telephone": "010-66086662", "latitude": "39.91509", "longitude": "116.3604", "trafficRoutes": "7路、21路、38路、44路、50路、46路、68路、84路、387路、423路、456路、477路、618路、691路、694路、939路复兴门南站\n" }, { "id": "144", "cityName": "北京", "cinemaName": "博纳国际影城通州店", "address": "北京市通州区杨庄北里天时名苑14号楼F4-01", "telephone": "010-56351916-800", "latitude": "39.90354", "longitude": "116.6367", "trafficRoutes": "地铁:城铁八通线通州北苑站B出口。\n公交:312、322、649、666、667、668、669、728、801、804、805、810、924、811、938、916、976、916、924、930、372、435、615、647、郊87、通12路到北苑站下车即可。" }, { "id": "145", "cityName": "北京", "cinemaName": "大地数字影院-北京望京新天地", "address": "北京市朝阳区望京合生麒麟社影院", "telephone": "010-57389754", "latitude": "39.99717", "longitude": "116.4774", "trafficRoutes": "420路、467路、470路、471路、538路、621路、运通104线至望京西园四区下车即可" }, { "id": "146", "cityName": "北京", "cinemaName": "大地数字影院-北京延庆金锣湾", "address": "北京市延庆县妫水北街39号1幢H座首层(金锣湾商业中心)沃尔玛旁", "telephone": "010-60165114", "latitude": "40.46144", "longitude": "115.9765", "trafficRoutes": "920、919、921、925路公车到达" }, { "id": "147", "cityName": "北京", "cinemaName": "大地数字影院-通州马驹桥米拉", "address": "北京市通州区新油东路1号米拉时尚生活广场七层", "telephone": "010-80897926", "latitude": "39.76124", "longitude": "116.5453", "trafficRoutes": "凉水河桥南-公交车站:542路环线, 723路, 826路, 846路, 975路,976路, 专41路\n马驹桥新桥-公交车站:28-29联运, 821路, 846路, 927路, 976路,郊87路, 郊87路空调, 通12路, 通28路" }, { "id": "148", "cityName": "北京", "cinemaName": "大地数字影城--西三旗物美", "address": "北京海淀区悦秀路99号二层大地影院", "telephone": "010-60603728", "latitude": "40.05296", "longitude": "116.3376", "trafficRoutes": "2路、753路、478路、315路、614路" }, { "id": "149", "cityName": "北京", "cinemaName": "UME国际影城(安贞店)", "address": "北京市东城区北三环东路36号环球贸易中心E座B1/F1/F3", "telephone": "010-58257733", "latitude": "39.96822", "longitude": "116.4103", "trafficRoutes": "乘公交车:安贞桥东下车:300、683、117、718、302、998、731、954、985、特8、运通104和平西桥南下车:125、430、75\n乘坐地铁5号线可在和平西桥站下车,从A或C出口出站向西行\n" }, { "id": "150", "cityName": "北京", "cinemaName": "首都电影院(西单店)", "address": "西城区西单北大街甲131号大悦城商场十层", "telephone": "010-66086662", "latitude": "39.91076", "longitude": "116.3733", "trafficRoutes": "可乘1、10、22、37、52、70、728在西单路口东下车。可乘102、105、109、22、46、47、603、604、626、690、在西单商场下车。也可乘地铁1号线在西单下车走西北出口。自驾前往,有地下停车场。" } ], "page": 1, "pagesize": 10, "totalpage": 14 ] } ``` ## 接口4:影院上映影片信息 ### 请求地址 ``` GET https://api.topthink.com/movie/cinema_movies ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | cinemaid | 是 | int | 影院ID | | movieid | 否 | int | 指定电影ID,默认全部电影 | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | movieId | string | 电影ID | | movieName | string | 电影名称 | | pic\_url | string | 电影图片 | | broadcast | array | 电影的场次信息 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->movieCinemaMovies() ->withCinemaId(1188) ->request(); dump($result); ``` 返回结果示例: ``` { "code": 0, "message": "成功", "data":[ "cinema_info": { "id": "1188", "name": "橙天嘉禾苏州影城", "city": "苏州", "telephone": "0512-69566540", "address": "苏州工业园区现代大道1699号 印象城三层" }, "lists": [ { "movieId": "151951", "movieName": "美国队长2", "pic_url": "http://img31.mtime.cn/mt/2014/03/16/154554.36400206_96X128.jpg", "broadcast": [ { "hall": "7号厅", "price": "63", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709956/", "time": "11:20" }, { "hall": "1号厅", "price": "63", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709930/", "time": "12:10" }, { "hall": "3号厅", "price": "63", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709938/", "time": "13:00" }, { "hall": "5号厅", "price": "63", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709947/", "time": "13:40" }, { "hall": "1号厅", "price": "63", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709931/", "time": "14:40" }, { "hall": "3号厅", "price": "63", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709939/", "time": "15:30" }, { "hall": "5号厅", "price": "63", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709948/", "time": "16:30" }, { "hall": "3号厅", "price": "93", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709940/", "time": "18:00" }, { "hall": "5号厅", "price": "93", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709949/", "time": "19:10" }, { "hall": "1号厅", "price": "93", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709932/", "time": "19:50" }, { "hall": "3号厅", "price": "93", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709941/", "time": "20:30" }, { "hall": "9号厅", "price": "93", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709966/", "time": "21:10" }, { "hall": "1号厅", "price": "93", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709933/", "time": "22:20" } ] }, { "movieId": "172743", "movieName": "魔警", "pic_url": "http://img31.mtime.cn/mt/2014/04/09/085413.72005937_96X128.jpg", "broadcast": [ { "hall": "9号厅", "price": "43", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709967/", "time": "10:50" }, { "hall": "8号厅", "price": "43", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709962/", "time": "13:15" }, { "hall": "9号厅", "price": "43", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709968/", "time": "14:15" }, { "hall": "8号厅", "price": "43", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709963/", "time": "15:20" }, { "hall": "9号厅", "price": "43", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709969/", "time": "16:40" }, { "hall": "8号厅", "price": "43", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709964/", "time": "17:50" }, { "hall": "9号厅", "price": "63", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709970/", "time": "19:00" }, { "hall": "2号厅", "price": "63", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709934/", "time": "20:50" }, { "hall": "5号厅", "price": "63", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709950/", "time": "21:40" }, { "hall": "7号厅", "price": "63", "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709957/", "time": "22:30" } ] } ] } ``` ## 接口5:今日上映影片 ### 请求地址 ``` GET https://api.topthink.com/movie/today ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | cityid | 是 | int | 城市ID | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | movieId | string | 电影ID | | movieName | string | 影片名称 | | pic\_url | string | 影片图片 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->movieCinemaSearch() ->withCityId(3) ->request(); dump($result); ``` 返回结果示例: ``` { "code": 0, "message": "成功", "data":[ { "movieId": "21250", "movieName": "白日梦想家", "pic_url": "http://img31.mtime.cn/mt/2013/11/26/074429.68199128_96X128.jpg" }, { "movieId": "134509", "movieName": "最强囍事", "pic_url": "http://img21.mtime.cn/mt/2011/01/13/122711.93922385_96X128.jpg" } ] } ``` ## 接口6:支持城市列表 ### 请求地址 ``` GET https://api.topthink.com/movie/support_city ``` ### 请求参数 无 ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | id | string | 城市ID | | city\_name | string | 城市名称 | | city\_pre | string | 城市前缀 | | city\_pinyin | string | 城市拼音 | | city\_short | string | 城市简写 | | count | string | 影院数量 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->movieSupportCity() ->request(); dump($result); ``` 返回结果示例: ``` { "code": 0, "message": "成功", "data":[ { "id": "1", "city_name": "上海", "city_pre": "S", "city_pinyin": "Shanghai", "city_short": "sh", "count": "141" }, { "id": "2", "city_name": "北京", "city_pre": "B", "city_pinyin": "Beijing", "city_short": "bj", "count": "137" } ... ] } ``` ## 接口7:影片上映影院查询 ### 请求地址 ``` GET https://api.topthink.com/movie/show_cinema ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | cityid | 是 | int | 城市ID | | movieid | 是 | int | 影片ID | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | cinemaName | string | 影院名称 | | cinemaId | string | 影院ID | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->movieShowCinema() ->withCityid(1) ->withMovieid(190465) ->request(); dump($result); ``` 返回结果示例: ``` { "code": 0, "message": "成功", "data":[ { "cinemaName": "金逸影城上海龙之梦IMAX店", "cinemaId": "1", "address": "上海市虹口区西江湾路388号凯德龙之梦B座6F-7F", "latitude": "31.27125", "longitude": "121.4787" }, { "cinemaName": "上海南桥海上国际影城", "cinemaId": "2", "address": "上海奉贤区百齐路288号(百联二期四楼)", "latitude": "30.91572", "longitude": "121.4829" }, ... ] } ``` ## 接口8:按影片ID检索影片信息 ### 请求地址 ``` GET https://api.topthink.com/movie/index ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | movieid | 是 | int | 影片ID | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | movieid | string | 影片唯一标识ID | | actors | string | 影片的演员列表。 | | also\_known\_as | string | 影片的其它名称。 | | country | string | 影片的拍摄国家。 | | directors | string | 影片的导演列表。 | | film\_locations | string | 影片的拍摄地。 | | genres | string | 影片的分类。(如:戏剧,战争) | | language | string | 影片的对白使用的语言。 | | plot\_simple | String | 影片的剧情概要。 | | poster | String | 影片的海报。 | | rated | String | 影片的分类与评级。 | | rating | string | 影片的得分。(-1表示未评分) | | rating\_count | string | 影片的评分人数。 | | release\_date | Int | 影片的上映时间。 | | runtime | string | 影片的持续时间。 | | title | string | 影片的名称。 | | type | string | 影片类型. | | writers | string | 影片的编剧列表。 | | year | Int | 影片的拍摄年代。 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->movieIndex() ->withMovieid(190465) ->request(); dump($result); ``` 返回结果示例: ``` { "code": 0, "message": "成功", "data":{ "movieid": "137742", "rating": "-1", "genres": "动作/冒险/科幻", "runtime": "null", "language": "英语", "title": "哥斯拉", "poster": "http://v.juhe.cn/movie/img?55370", "writers": "麦克斯·鲍任斯坦,达夫·卡拉汉姆", "film_locations": "美国|日本", "directors": "加里斯·爱德华斯", "rating_count": "288", "actors": "亚伦·泰勒-约翰逊 Aaron Taylor-Johnson,布莱恩·科兰斯顿 Bryan Cranston,伊丽莎白·奥尔森 Elizabeth Olsen,渡边谦 Ken Watanabe", "plot_simple": "改编自1954年日本电影《哥斯拉》,围绕一位人类大兵的生活展开。讲述了沉睡的古代巨型怪兽被人们意外唤醒,醒来后的怪兽展现出强大的破坏能力,它的存在也震惊了世界。影片同时强调了原子弹对生物变异带来的直接影响。", "year": "2014", "country": "美国|日本", "type": "null", "release_date": "20140101", "also_known_as": "" } } ```
';

文娱视频

最后更新于:2022-04-02 08:24:38

[影讯API合集](%E5%BD%B1%E8%AE%AFAPI%E5%90%88%E9%9B%86.md) [演员共演电影](%E6%9F%A5%E8%AF%A2%E4%B8%A4%E4%B8%AA%E5%85%B1%E5%90%8C%E6%BC%94%E5%91%98%E5%87%BA%E6%BC%94%E7%9A%84%E7%94%B5%E5%BD%B1%E4%BF%A1%E6%81%AF.md) [导演电影查询](%E6%A0%B9%E6%8D%AE%E5%AF%BC%E6%BC%94%E6%9F%A5%E8%AF%A2%E7%94%B5%E5%BD%B1%E4%BF%A1%E6%81%AF.md)
';

手机固话来电显示

最后更新于:2022-04-02 08:24:36

## 手机固化来电显示 >[danger]### 免费接口,每日100次免费调用,会员可不限次数调用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/3e/6a/3e6a9353def87522e92493f95f1cb883_155x165.png) > 查询手机/固话号码归属地,是否诈骗、营销、广告电话 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/telecom/identify ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | tel | 是 | string | 要查询的号码,如:051262519280 | ### 返回`data`参数 | 名称 | 类型 | 示例值 | 描述 | | --- | --- | --- | --- | |见返回示例 ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->telecomIdentify() ->withTel('02151860253') ->request(); dump($result); ``` 返回数据示例: ~~~ { "message": "查询成功", "data": [ "iszhapian": 1, /*是否诈骗、营销、广告电话*/ "province": "", /*号码所属省份*/ "city": "上海", /*号码所属城市*/ "sp": "", /*号码所属运营商*/ "phone": "02151860253", /*查询号码*/ "rpt_type": "房产中介", /*号码性质*/ "rpt_comment": "房产中介", /*号码性质描述*/ "rpt_cnt": 24, /*标记人数*/ "hy": { /*号码详细,可能部分号码为NULL*/ "city": "上海", "lng": "0", "lat": "0", "name": "上海xxxxxx有限公司", "addr": "", "tel": "021-51860253" }, "hyname":"该号码所属公司名称", "countDesc": "此号码近期被24360手机卫士用户标记为房产中介电话!" }, "code": 0 } ~~~
';

全球时间查询

最后更新于:2022-04-02 08:24:33

## 全球时间查询 >[danger]### 会员接口,仅限会员使用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/eb/34/eb344ceb1b998b8e87ced1aa9eeeb01b_200x200.png) > 查询全球主要城市的时间。 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/time/world ``` ### 请求参数 | 名称 | 类型 | 必填 | 说明 | | --- | --- | --- | --- | | appCode| string|是|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | city| string | 是 | 城市 | ### 返回`data`参数 | 名称 | 类型 | 示例值 | 说明 | | --- | --- | --- | --- | | country | string | 中国 | 所在国家 | | city | string | 上海 | 城市 | | timeZone | string | GMT +8 | 时区 | | strtime | string | 2020-09-02 10:10:50 | 字符串时间 | | timestamp | int | 1598980240 | 时间戳 | | weeknum | string | 3 | 星期 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->timeWorld() ->withCity('上海') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功", "data": [ { "country":"中国", "city":"上海", "timeZone":"GMT +8", "strtime":"2020-09-02 02:41:54", "timestamp":1598985714, "weeknum":"3" } ] } ~~~
';

标准电码查询

最后更新于:2022-04-02 08:24:31

## 标准电码查询 >[danger]### 免费接口,每日100次免费调用,会员可不限次数调用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/94/62/9462a17824739c58fb39c9e5920f5c12_166x155.png) > 提供的标准中文电码查询程序结果 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/telecom/codes ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | chars | 是 | string | 中文字符串,最大长度32个字,需要utf8 urlencode | ### 返回参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | telecodes | string | 字符对应电码 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->telecomCodes() ->withChars('顶想信息') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功的返回", "data": { "telecodes": "7307 1927 0207 1873" }, } ~~~
';

邮编查询

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

## 邮编查询(免费) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/35/4d/354df93647aa487adaceba1a3fc9b2b5_175x136.png) > 提供全国邮政编码大全,为你快速准确查邮编 每日100次免费调用 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ## 接口1:通过邮编查询对应的地名 ### 请求地址 ``` GET https://api.topthink.com/postcode/query ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | postcode | 是 | string | 邮编,如:215001 | | page | 否 | int | 页数,默认1 | | pagesize | 否 | int | 每页返回,默认:20,最大不超过50 | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | 参考返回数据 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->postcodeQuery() ->withPostcode('215001') ->request(); dump($result); ``` 返回数据示例: ~~~ { "code": 0, "message": "成功", "data": { "list": [ { "PostNumber": "215001", "Province": "江苏省", "City": "苏州市", "District": "平江区", "Address": "廖家巷新光里" }, { "PostNumber": "215001", "Province": "江苏省", "City": "苏州市", "District": "平江区", "Address": "龙兴桥顺德里" } ], "totalcount": 352, "totalpage": 176, "currentpage": 1, "pagesize": "2" }, } ~~~ ## 接口2:省份、城市、地区(县)关联的列表 ### 请求地址 ``` GET https://api.topthink.com/postcode/pcd ``` ### 请求参数 无 ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | 参考返回数据 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->postcodePcd() ->request(); dump($result); ``` 返回数据示例: ~~~ { "code": 0, "message": "成功", "data": { { "id":"1", "province":"上海市", "city":[ { "id":"32", "city":"上海市", "district":[ { "id":"798", "district":"南汇区" }, { "id":"799", "district":"卢湾区" }, { "id":"800", "district":"嘉定区" }, { "id":"801", "district":"奉贤区" }, { "id":"802", "district":"宝山区" }, { "id":"803", "district":"崇明县" }, { "id":"804", "district":"徐汇区" }, { "id":"805", "district":"普陀区" }, { "id":"806", "district":"杨浦区" }, { "id":"807", "district":"松江区" }, { "id":"808", "district":"浦东新区" }, { "id":"809", "district":"虹口区" }, { "id":"810", "district":"金山区" }, { "id":"811", "district":"长宁区" }, { "id":"812", "district":"闵行区" }, { "id":"813", "district":"闸北区" }, { "id":"814", "district":"青浦区" }, { "id":"815", "district":"静安区" }, { "id":"816", "district":"黄浦区" } ] } ] }, }, } ~~~ ## 接口3:根据相关条件查询符合条件地区的邮编 ### 请求地址 ``` GET https://api.topthink.com/postcode/search ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | pid | 是 | int | 省份ID | | cid | 是 | int | 城市ID | | did | 否 | int | 区域ID | | q | 否 | string | 地名关键字,如:木渎 | | page | 否 | int | 第几页,默认为第1页 | | pagesize | 否 | int | 每页显示条数,(1-50)默认20条, | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | 参考返回数据 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->postcodeSearch() ->withPid(1) ->withCid(32) ->withQ('徐家汇') ->request(); dump($result); ``` 返回数据示例: ~~~ { "code": 0, "message": "成功", "data": { "list":[ { "PostNumber":"200023", "Province":"上海市", "City":"上海市", "District":"卢湾区", "Address":"徐家汇路1-999号(单号)" }, { "PostNumber":"200025", "Province":"上海市", "City":"上海市", "District":"卢湾区", "Address":"徐家汇路28-648号(双号)" }, { "PostNumber":"200023", "Province":"上海市", "City":"上海市", "District":"卢湾区", "Address":"徐家汇路1-999弄(单号)" }, { "PostNumber":"200025", "Province":"上海市", "City":"上海市", "District":"卢湾区", "Address":"徐家汇路28-648弄(双号)" } ], "totalcount":4, "totalpage":1, "currentpage":1, "pagesize":20 ... ] }, } ~~~
';

行政区划查询

最后更新于:2022-04-02 08:24:26

## 行政区划查询(免费) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/4a/cb/4acbeef8d643b44d9ebaff49c3e13a58_184x145.png) > 全国行政区查询,支持省、市、区县、乡镇。最大4级 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/postcode/zone ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | fid | 是 | string | 上级地区代码,0为省级,其他传相应级别id代码 | ### 返回参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | id | string | 区域代码id | | name | string | 区域名称 | | fid | string | 上级区域代码 | | level\_id | string | 当前区域等级,最大4级 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->postcodeZone() ->withFid('320000') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功的返回", "data": { "data": { { "id":"320100", "name":"南京市", "fid":"320000", "level_id":"2" }, { "id":"320200", "name":"无锡市", "fid":"320000", "level_id":"2" }, ... } }, } ~~~
';

公共数据

最后更新于:2022-04-02 08:24:24

[行政区划查询](%E8%A1%8C%E6%94%BF%E5%8C%BA%E5%88%92%E6%9F%A5%E8%AF%A2.md) [邮编查询](%E9%82%AE%E7%BC%96%E6%9F%A5%E8%AF%A2.md) [标准电码查询](%E6%A0%87%E5%87%86%E7%94%B5%E7%A0%81%E6%9F%A5%E8%AF%A2.md) [全球时间查询](%E5%85%A8%E7%90%83%E6%97%B6%E9%97%B4%E6%9F%A5%E8%AF%A2.md) [手机固话来电显示](%E6%89%8B%E6%9C%BA%E5%9B%BA%E8%AF%9D%E6%9D%A5%E7%94%B5%E6%98%BE%E7%A4%BA.md)
';

周公解梦

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

## 周公解梦 >[danger]### 免费接口,每日100次免费调用,会员可不限次数调用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/b4/12/b412337a866e294834642ec1081360a5_192x154.png) 周公解梦,周公解梦大全,周公解梦查询 每日100次免费调用 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ## 接口1:解梦查询 ### 请求地址 ``` GET https://api.topthink.com/dream/query ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | q| 是 | string | 梦境关键字 | | cid| 否 | int| 梦境分类,默认全部(参考接口2:梦境分类) | | full| 否 | int| 是否显示详细信息 ,1:是 0:否,默认0 | ### 返回参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | 见JSON返回示例 | \- | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->dreamQuery() ->withQ('黄金') ->withFull(1) ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功的返回", "data": { { "id": "873e943d1bcb40cd4b289e0809803343", "title": "黄金 金子", "des": "梦见黄金,预示会遭遇挫折。梦见有人送黄金给自己,可能会蒙受损失。女人梦见丢了黄金,预示添置新首饰。", "list": [ "梦见黄金,预示会遭遇挫折。梦见有人送黄金给自己,可能会蒙受损失。女人梦见丢了黄金,预示添置新首饰。", "另外,如果梦见金银制的杯、盆、工具等,都预示要结婚,或在需要下赌注的事情上,会有好运气。", "梦见金衣服、金布,预示会得到荣誉和声望。", "梦见自己在寻找黄金,预示会通过自己的努力,改善处境,取得成功。", "梦见炼金,或是淘金,采金,则是提醒你要提高警惕,擦亮眼睛,不要以貌取人。", "梦见挖出金子,或打开金库,预示你会有意外之财。", "梦见藏起金子,提醒你要好好保护自己的利益,必要的话" ] } } ~~~ ## 接口2:梦境分类 ### 请求地址 ``` GET https://api.topthink.com/dream/category ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | fid| 否 | int| 所属分类,默认全部,0:一级分类 | ### 返回参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | 见JSON返回示例 | \- | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->dreamCategory() ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功的返回", "data": { { "id":"1", "name":"人物类", "fid":"0" }, { "id":"2", "name":"其他类", "fid":"0" }, ... } ~~~
';

QQ号码吉凶查询

最后更新于:2022-04-02 08:24:19

## QQ号码吉凶查询 >[danger]### 免费接口,每日100次免费调用,会员可不限次数调用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/05/6f/056f3091030bbd4e5d26b61d47a4c41e_163x174.png) > 根据传入的参数qq号码测试qq的吉凶 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/almanac/qq ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | qq | 是 | string | 需要测试的QQ号码 | ### 返回参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | conclusion | string | QQ号码测试结论 | | analysis | string | 结论分析 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->almanacQQ() ->withQq('130770308') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功的返回", "data": { "data": { "conclusion": "[大吉+官运+财运+才艺]如龙得云,青云直上,智谋奋进,才略奏功",//QQ号码测试结论 "analysis": "欲望难足希望高,计谋成功财力豪,猜疑嫉妒性自改,如龙乘云势运开。智能超人贯彻大志,富贵无比,不甘寂寞,叱吒风云之大吉数,但容易发生牢骚 及贪心、欲望太多而永不知足,为其缺点。切忌沉迷投机,可免贻误前程。"//结论分析 } }, } ~~~
';

老黄历

最后更新于:2022-04-02 08:24:17

## 老黄历 >[danger]### 免费接口,每日100次免费调用,会员可不限次数调用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/e3/de/e3decd5cc0e7bbebc6b8a8eccdfa16b3_162x160.png) > 提供老黄历查询,黄历每日吉凶宜忌查询 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ## 接口1:查询日期 ### 请求地址 ``` GET https://api.topthink.com/almanac/date ``` ### 请求参数 |名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | date | 是 | string | 日期,格式2014-09-09 | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | yangli | DATE | 阳历 | | yinli | STRING | 阴历 | | wuxing | STRING | 五行 | | chongsha | STRING | 冲煞 | | baiji | STRING | 彭祖百忌 | | jishen | STRING | 吉神宜趋 | | yi | STRING | 宜 | | xiongshen | STRING | 凶神宜忌 | | ji | STRING | 忌 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->almanacDate() ->withDate('2014-09-11') ->request(); dump($result); ``` 返回数据示例: ~~~ { "code": 0, "message": "成功", "data": { "id": "1657", "yangli": "2014-09-11", "yinli": "甲午(马)年八月十八", "wuxing": "井泉水 建执位", "chongsha": "冲兔(己卯)煞东", "baiji": "乙不栽植千株不长 酉不宴客醉坐颠狂", "jishen": "官日 六仪 益後 月德合 除神 玉堂 鸣犬", "yi": "祭祀 出行 扫舍 馀事勿取", "xiongshen": "月建 小时 土府 月刑 厌对 招摇 五离", "ji": "诸事不宜" }, } ~~~ ## 接口2:时辰查询 ### 请求地址 ``` GET https://api.topthink.com/almanac/hour ``` ### 请求参数 |名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | date | 是 | string | 日期,格式2014-09-09 | ### 返回`data`参数 |名称 | 类型 | 说明 | | --- | --- | --- | | yangli | DATE | 阳历 | | hours | STRING | 时间段 | | des | STRING | 描述 | | yi | STRING | 宜 | | ji | STRING | 忌 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->almanacHour() ->withDate('2014-09-11') ->request(); dump($result); ``` 返回数据示例: ~~~ { "code": 0, "message": "成功", "data": { { "yangli": "2014-09-11", "hours": "1-3", "des": " 修造 安葬 求财 见贵 嫁娶 进人口 移徙", "yi": "赴任 出行", "ji": "冲猴 煞北 时冲甲申 地兵 三合 长生 司命" }, { "yangli": "2014-09-11", "hours": "3-5", "des": " 祈福 求嗣 订婚 嫁娶 出行 求财 开市 交易 安床 作灶 祭祀", "yi": "修造 动土", "ji": "冲猪 煞东 时冲丁亥 路空 日禄 明堂" }, ... }, } ~~~
';