API简介:天气预报-天气预报-15日-墨迹天气【示例参数里的ID与KEY为公共ID,共享频次限制,请替换为自己的接口盒子[www.apihz.cn]ID与KEY,独立统计调用信息数据,可在接口盒子后台查看,本接口免费且无使用上限。】 接口问题联系相关负责人沟通修复:查看该接口开发者 接口地址:https://cn.apihz.cn/api/tianqi/tqybmoji15.php 返回格式:JSON 请求方式:GET 请求参数:https://cn.apihz.cn/api/tianqi/tqybmoji15.php?id=88888888&key=88888888&sheng=四川&place=三星堆博物馆 极速测试(自动) 历史统计 历史列表 注:单纯检测接口是否可调通,返回的数据请自行检查 再次检测 检测接口中...(检测服务是否可用) 状态码 累计次数 最后检测时间 正常 796 2024-12-10 13:12:29 故障 22 2024-12-09 20:22:38 注意事项 Bug修复 专属线路 您好!我们的平台聚合了 上千位开发者提供的免费接口 ,尽管我们已经付出了很大的努力来确保接口的稳定性。 1. 然而,由于我们 无法控制 其他【开发者】的 接口,不稳定或者他可能跑路了,因为不赚钱。。。我替他向您道歉!!!!! 2. 但请放心,我们正在竭尽所能来改进这个情况。 3. 为了方便您使用,我们还推出了智能生成对接代码和在线极速测试接口是否可用的功能。 4. 我们真诚希望您 理解并谅解 这一挑战,同时我们将继续 努力提供更多可靠的接口 ,以满足您的需求。 5. 最后,如果您需要与我取得联系,我的微信:13132131321,再次感谢您对我们的支持与信任!!! 接口注意:接口故障请立即 点我反馈,修复进度会通过短信通知! 非官方接口,请联系开发者获取技术支持 新 Bug修复:非官方接口,Bug反馈请联系开发者 新 会员线路:因调用量剧增,定制独享优质线路请 参考定制方案 专属线路 成本透明 0服务费 请求参数 接口名称 是否必填 接口类型 接口说明 id 是 string 接口盒子用户ID,公共ID为88888888 key 是 string 接口盒子用户KEY,公共KEY为88888888 sheng 是 string 要查询的省份名称,例:sheng=四川,sheng=四川省,sheng=广西,sheng=广西壮族自治区 place 是 string 要查询的地点,可以是某个大型风景区,城市名称,区县级名称。例:place=三星堆博物馆 返回示例 { "data": [ { "week1": "周四", "week2": "04\/04", "wea1": "少云", "wea2": "雷阵雨", "wendu1": "25°", "wendu2": "17°", "img1": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w1.png", "img2": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w4.png" }, { "week1": "周五", "week2": "04\/05", "wea1": "阴", "wea2": "阵雨", "wendu1": "21°", "wendu2": "17°", "img1": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png", "img2": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w33.png" }, { "week1": "周六", "week2": "04\/06", "wea1": "阵雨", "wea2": "阵雨", "wendu1": "18°", "wendu2": "15°", "img1": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w3.png", "img2": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w33.png" }, { "week1": "周日", "week2": "04\/07", "wea1": "阴", "wea2": "阵雨", "wendu1": "19°", "wendu2": "15°", "img1": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png", "img2": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w33.png" }, { "week1": "周一", "week2": "04\/08", "wea1": "阴", "wea2": "阵雨", "wendu1": "20°", "wendu2": "13°", "img1": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png", "img2": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w33.png" }, { "week1": "周二", "week2": "04\/09", "wea1": "阴", "wea2": "阴", "wendu1": "20°", "wendu2": "15°", "img1": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png", "img2": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png" }, { "week1": "周三", "week2": "04\/10", "wea1": "阴", "wea2": "阴", "wendu1": "23°", "wendu2": "15°", "img1": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png", "img2": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png" }, { "week1": "周四", "week2": "04\/11", "wea1": "阴", "wea2": "阴", "wendu1": "23°", "wendu2": "15°", "img1": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png", "img2": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png" }, { "week1": "周五", "week2": "04\/12", "wea1": "阴", "wea2": "阴", "wendu1": "25°", "wendu2": "16°", "img1": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png", "img2": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png" }, { "week1": "周六", "week2": "04\/13", "wea1": "少云", "wea2": "阴", "wendu1": "26°", "wendu2": "17°", "img1": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w1.png", "img2": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png" }, { "week1": "周日", "week2": "04\/14", "wea1": "阴", "wea2": "少云", "wendu1": "27°", "wendu2": "18°", "img1": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png", "img2": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w31.png" }, { "week1": "周一", "week2": "04\/15", "wea1": "少云", "wea2": "少云", "wendu1": "28°", "wendu2": "19°", "img1": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w1.png", "img2": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w31.png" }, { "week1": "周二", "week2": "04\/16", "wea1": "阴", "wea2": "阴", "wendu1": "27°", "wendu2": "20°", "img1": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png", "img2": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png" }, { "week1": "周三", "week2": "04\/17", "wea1": "阴", "wea2": "阵雨", "wendu1": "25°", "wendu2": "19°", "img1": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png", "img2": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w33.png" }, { "week1": "周四", "week2": "04\/18", "wea1": "阴", "wea2": "阴", "wendu1": "20°", "wendu2": "17°", "img1": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png", "img2": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png" }, { "week1": "周五", "week2": "04\/19", "wea1": "阴", "wea2": "阴", "wendu1": "21°", "wendu2": "15°", "img1": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png", "img2": "https:\/\/h5tq.moji.com\/tianqi\/assets\/images\/weather\/w2.png" } ], "code": 200, "place": "三星堆博物馆, 四川省, 中国" } 返回参数 接口名称 接口类型 接口说明 code string 200成功,400错误 msg string 如果状态码返回400则msg返回错误提示 place string 返回查询地点 data string 返回15天天气结果集 week1 string 返回星期几 week2 string 返回日历 wea1 string 当日天气开始 wea2 string 当日天气结束,开始加结束表示,多云转雷阵雨 wendu1 string 返回当日最高温度 wendu2 string 返回当日最低温度 img1 string 返回当日天气1图标地址 img2 string 返回当日天气2图标地址 支持多层级可视化显示返回json示例,直观展示接口对应的键值对的代表含义! { "img2": "返回当日天气2图标地址", "img1": "返回当日天气1图标地址", "wendu2": "返回当日最低温度", "wendu1": "返回当日最高温度", "wea2": "当日天气结束,开始加结束表示,多云转雷阵雨", "wea1": "当日天气开始", "week2": "返回日历", "week1": "返回星期几", "data": "返回15天天气结果集", "place": "返回查询地点", "msg": "如果状态码返回400则msg返回错误提示", "code": "200成功,400错误" } 小白教程 本教程帮助用户快速对接天气预报-15日-墨迹天气接口,现已支持智能生成代码 为照顾小白,特意编写此对接文档教程,若有不懂请及时联系接口维护者。 天气预报-15日-墨迹天气 小白快速对接「天气预报-15日-墨迹天气」简易教程 生成代码 支持生成对接天气预报-15日-墨迹天气接口代码,多语言选择,助力学生对接! 介绍 Python Java PHP NodeJS C语言 注意,AI·BOT自动生成对接「天气预报-15日-墨迹天气」简易代码,方便您调试对接,实时生成! 立即生成 点击生成代码,自动生成对接代码,您可以自行测试,如有疑问请联系夏柔QQ:1501904! 立即生成 自动生成JAVA对接「天气预报-15日-墨迹天气」代码,如有疑问请联系夏柔QQ:1501904! 立即生成 自动生成PHP对接「天气预报-15日-墨迹天气」代码,如有疑问请联系夏柔QQ:1501904! 立即生成 自动生成NodeJS对接「天气预报-15日-墨迹天气」代码,如有疑问请联系夏柔QQ:1501904! 立即生成 自动生成C语言对接「天气预报-15日-墨迹天气」代码,如有疑问请联系夏柔QQ:1501904! 实时调试 部分视频、图片或其他接口报错、空值并不代表无法对接,请在本地尝试请求参数接口 调试工具支持的请求类型有: GETPOSTPUTHEADTRACEDELETECONNECTOPTIONS GET 请求 POST 请求 PUT 请求 HEAD 请求 TRACE 请求 DELETE 请求 CONNECT 请求 OPTIONS 请求 在线调试 温馨提示:请修改请求参数,未修改可能返回报错; 参数名称 参数值(修改后测试) 添加参数 参数支持JSON格式,以及GET参数请求方式 返回键值对添加请求参数 {"data":[{"week1":"周四","week2":"04/04","wea1":"少云","wea2":"雷阵雨","wendu1":"25°","wendu2":"17°","img1":"https://h5tq.moji.com/tianqi/assets/images/weather/w1.png","img2":"https://h5tq.moji.com/tianqi/assets/images/weather/w4.png"},{"week1":"周五","week2":"04/05","wea1":"阴","wea2":"阵雨","wendu1":"21°","wendu2":"17°","img1":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png","img2":"https://h5tq.moji.com/tianqi/assets/images/weather/w33.png"},{"week1":"周六","week2":"04/06","wea1":"阵雨","wea2":"阵雨","wendu1":"18°","wendu2":"15°","img1":"https://h5tq.moji.com/tianqi/assets/images/weather/w3.png","img2":"https://h5tq.moji.com/tianqi/assets/images/weather/w33.png"},{"week1":"周日","week2":"04/07","wea1":"阴","wea2":"阵雨","wendu1":"19°","wendu2":"15°","img1":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png","img2":"https://h5tq.moji.com/tianqi/assets/images/weather/w33.png"},{"week1":"周一","week2":"04/08","wea1":"阴","wea2":"阵雨","wendu1":"20°","wendu2":"13°","img1":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png","img2":"https://h5tq.moji.com/tianqi/assets/images/weather/w33.png"},{"week1":"周二","week2":"04/09","wea1":"阴","wea2":"阴","wendu1":"20°","wendu2":"15°","img1":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png","img2":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png"},{"week1":"周三","week2":"04/10","wea1":"阴","wea2":"阴","wendu1":"23°","wendu2":"15°","img1":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png","img2":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png"},{"week1":"周四","week2":"04/11","wea1":"阴","wea2":"阴","wendu1":"23°","wendu2":"15°","img1":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png","img2":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png"},{"week1":"周五","week2":"04/12","wea1":"阴","wea2":"阴","wendu1":"25°","wendu2":"16°","img1":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png","img2":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png"},{"week1":"周六","week2":"04/13","wea1":"少云","wea2":"阴","wendu1":"26°","wendu2":"17°","img1":"https://h5tq.moji.com/tianqi/assets/images/weather/w1.png","img2":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png"},{"week1":"周日","week2":"04/14","wea1":"阴","wea2":"少云","wendu1":"27°","wendu2":"18°","img1":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png","img2":"https://h5tq.moji.com/tianqi/assets/images/weather/w31.png"},{"week1":"周一","week2":"04/15","wea1":"少云","wea2":"少云","wendu1":"28°","wendu2":"19°","img1":"https://h5tq.moji.com/tianqi/assets/images/weather/w1.png","img2":"https://h5tq.moji.com/tianqi/assets/images/weather/w31.png"},{"week1":"周二","week2":"04/16","wea1":"阴","wea2":"阴","wendu1":"27°","wendu2":"20°","img1":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png","img2":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png"},{"week1":"周三","week2":"04/17","wea1":"阴","wea2":"阵雨","wendu1":"25°","wendu2":"19°","img1":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png","img2":"https://h5tq.moji.com/tianqi/assets/images/weather/w33.png"},{"week1":"周四","week2":"04/18","wea1":"阴","wea2":"阴","wendu1":"20°","wendu2":"17°","img1":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png","img2":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png"},{"week1":"周五","week2":"04/19","wea1":"阴","wea2":"阴","wendu1":"21°","wendu2":"15°","img1":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png","img2":"https://h5tq.moji.com/tianqi/assets/images/weather/w2.png"}],"code":200,"place":"三星堆博物馆, 四川省, 中国"}