历史天气

第三方服务商
价格:0元首次申请送20次  
服务商: 聚合数据
  • 产品介绍
  • 接口文档
  • 服务商
  • 官方客服

支持省份列表


接口地址:http://v.juhe.cn/historyWeather/province
支持格式:json
请求方法:http get

请求参数说明:

 名称必填类型说明
 keystring在个人中心->我的数据,接口名称上方查看
请求示例:http://v.juhe.cn/historyWeather/province

返回参数说明:

 名称类型说明
 error_codeint返回码
 reasonstring返回说明
 resultstring返回结果集
 idstring省份ID
 provincestring省份名称
返回示例:

JSON返回示例:

{
    "reason": "查询成功",
    "result": [
        {
            "id": "1",
            "province": "安徽"
        },
        {
            "id": "2",
            "province": "澳门"
        },
        {
            "id": "3",
            "province": "北京"
        },
        {
            "id": "4",
            "province": "福建"
        },
        {
            "id": "5",
            "province": "甘肃"
        },
        {
            "id": "6",
            "province": "广东"
        },
        {
            "id": "7",
            "province": "广西"
        },
        {
            "id": "8",
            "province": "贵州"
        },
        {
            "id": "9",
            "province": "海南"
        },
        {
            "id": "10",
            "province": "河北"
        },
        {
            "id": "11",
            "province": "河南"
        },
        {
            "id": "12",
            "province": "黑龙江"
        },
        {
            "id": "13",
            "province": "湖北"
        },
        {
            "id": "14",
            "province": "湖南"
        },
        {
            "id": "15",
            "province": "吉林"
        },
        {
            "id": "16",
            "province": "江苏"
        },
        {
            "id": "17",
            "province": "江西"
        },
        {
            "id": "18",
            "province": "辽宁"
        },
        {
            "id": "19",
            "province": "内蒙古"
        },
        {
            "id": "20",
            "province": "宁夏"
        },
        {
            "id": "21",
            "province": "青海"
        },
        {
            "id": "22",
            "province": "山东"
        },
        {
            "id": "23",
            "province": "山西"
        },
        {
            "id": "24",
            "province": "陕西"
        },
        {
            "id": "25",
            "province": "上海"
        },
        {
            "id": "26",
            "province": "四川"
        },
        {
            "id": "27",
            "province": "台湾"
        },
        {
            "id": "28",
            "province": "天津"
        },
        {
            "id": "29",
            "province": "西藏"
        },
        {
            "id": "30",
            "province": "香港"
        },
        {
            "id": "31",
            "province": "新疆"
        },
        {
            "id": "32",
            "province": "云南"
        },
        {
            "id": "33",
            "province": "浙江"
        },
        {
            "id": "34",
            "province": "重庆"
        }
    ],
    "error_code": 0
}

支持城市地区列表


接口地址:http://v.juhe.cn/historyWeather/citys
支持格式:json
请求方法:http get/post

请求参数说明:

名称 必填 类型 说明
  key string 申请的key,个人中心我的数据列表查看
  province_id string 省份ID
请求示例:http://v.juhe.cn/historyWeather/citys?key=&province_id=16

返回参数说明:

名称 类型 说明
  error_code int 返回码
  reason string 返回说明
  result string 返回结果集
  province_id string 省份ID
  id string 城市ID
  city_name string 城市地区名称
返回示例:

JSON返回示例:

{
    "reason": "查询成功",
    "result": [
        {
            "id": "1111",
            "province_id": "16",
            "city_name": "宝应"
        },
        {
            "id": "1112",
            "province_id": "16",
            "city_name": "滨海"
        },
        {
            "id": "1113",
            "province_id": "16",
            "city_name": "常熟"
        },
        {
            "id": "1114",
            "province_id": "16",
            "city_name": "常州"
        },
        {
            "id": "1115",
            "province_id": "16",
            "city_name": "大丰"
        },
        {
            "id": "1116",
            "province_id": "16",
            "city_name": "丹阳"
        },
        {
            "id": "1117",
            "province_id": "16",
            "city_name": "东海"
        },
        {
            "id": "1118",
            "province_id": "16",
            "city_name": "东台"
        },
        {
            "id": "1119",
            "province_id": "16",
            "city_name": "丰县"
        },
        {
            "id": "1120",
            "province_id": "16",
            "city_name": "阜宁"
        },
        {
            "id": "1121",
            "province_id": "16",
            "city_name": "赣榆"
        },
        {
            "id": "1122",
            "province_id": "16",
            "city_name": "高淳"
        },
        {
            "id": "1123",
            "province_id": "16",
            "city_name": "高邮"
        },
        {
            "id": "1124",
            "province_id": "16",
            "city_name": "灌南"
        },
        {
            "id": "1125",
            "province_id": "16",
            "city_name": "灌云"
        },
        {
            "id": "1126",
            "province_id": "16",
            "city_name": "海安"
        },
        {
            "id": "1127",
            "province_id": "16",
            "city_name": "海门"
        },
        {
            "id": "1128",
            "province_id": "16",
            "city_name": "洪泽"
        },
        {
            "id": "1129",
            "province_id": "16",
            "city_name": "淮安"
        },
        {
            "id": "1130",
            "province_id": "16",
            "city_name": "建湖"
        },
        {
            "id": "1131",
            "province_id": "16",
            "city_name": "江都"
        },
        {
            "id": "1132",
            "province_id": "16",
            "city_name": "江宁"
        },
        {
            "id": "1133",
            "province_id": "16",
            "city_name": "江阴"
        },
        {
            "id": "1134",
            "province_id": "16",
            "city_name": "姜堰"
        },
        {
            "id": "1135",
            "province_id": "16",
            "city_name": "金湖"
        },
        {
            "id": "1136",
            "province_id": "16",
            "city_name": "金坛"
        },
        {
            "id": "1137",
            "province_id": "16",
            "city_name": "靖江"
        },
        {
            "id": "1138",
            "province_id": "16",
            "city_name": "句容"
        },
        {
            "id": "1139",
            "province_id": "16",
            "city_name": "昆山"
        },
        {
            "id": "1140",
            "province_id": "16",
            "city_name": "溧水"
        },
        {
            "id": "1141",
            "province_id": "16",
            "city_name": "溧阳"
        },
        {
            "id": "1142",
            "province_id": "16",
            "city_name": "连云港"
        },
        {
            "id": "1143",
            "province_id": "16",
            "city_name": "涟水"
        },
        {
            "id": "1144",
            "province_id": "16",
            "city_name": "六合"
        },
        {
            "id": "1145",
            "province_id": "16",
            "city_name": "南京"
        },
        {
            "id": "1146",
            "province_id": "16",
            "city_name": "南通"
        },
        {
            "id": "1147",
            "province_id": "16",
            "city_name": "沛县"
        },
        {
            "id": "1148",
            "province_id": "16",
            "city_name": "邳州"
        },
        {
            "id": "1149",
            "province_id": "16",
            "city_name": "浦口"
        },
        {
            "id": "1150",
            "province_id": "16",
            "city_name": "启东"
        },
        {
            "id": "1151",
            "province_id": "16",
            "city_name": "如东"
        },
        {
            "id": "1152",
            "province_id": "16",
            "city_name": "如皋"
        },
        {
            "id": "1153",
            "province_id": "16",
            "city_name": "射阳"
        },
        {
            "id": "1154",
            "province_id": "16",
            "city_name": "沭阳"
        },
        {
            "id": "1155",
            "province_id": "16",
            "city_name": "泗洪"
        },
        {
            "id": "1156",
            "province_id": "16",
            "city_name": "泗阳"
        },
        {
            "id": "1157",
            "province_id": "16",
            "city_name": "苏州"
        },
        {
            "id": "1158",
            "province_id": "16",
            "city_name": "宿迁"
        },
        {
            "id": "1159",
            "province_id": "16",
            "city_name": "睢宁"
        },
        {
            "id": "1160",
            "province_id": "16",
            "city_name": "太仓"
        },
        {
            "id": "1161",
            "province_id": "16",
            "city_name": "泰兴"
        },
        {
            "id": "1162",
            "province_id": "16",
            "city_name": "泰州"
        },
        {
            "id": "1163",
            "province_id": "16",
            "city_name": "无锡"
        },
        {
            "id": "1164",
            "province_id": "16",
            "city_name": "吴江"
        },
        {
            "id": "1165",
            "province_id": "16",
            "city_name": "响水"
        },
        {
            "id": "1166",
            "province_id": "16",
            "city_name": "新沂"
        },
        {
            "id": "1167",
            "province_id": "16",
            "city_name": "兴化"
        },
        {
            "id": "1168",
            "province_id": "16",
            "city_name": "盱眙"
        },
        {
            "id": "1169",
            "province_id": "16",
            "city_name": "徐州"
        },
        {
            "id": "1170",
            "province_id": "16",
            "city_name": "盐城"
        },
        {
            "id": "1171",
            "province_id": "16",
            "city_name": "扬中"
        },
        {
            "id": "1172",
            "province_id": "16",
            "city_name": "扬州"
        },
        {
            "id": "1173",
            "province_id": "16",
            "city_name": "仪征"
        },
        {
            "id": "1174",
            "province_id": "16",
            "city_name": "宜兴"
        },
        {
            "id": "1175",
            "province_id": "16",
            "city_name": "张家港"
        },
        {
            "id": "1176",
            "province_id": "16",
            "city_name": "镇江"
        }
    ],
    "error_code": 0
}

查询历史天气


接口地址:http://v.juhe.cn/historyWeather/weather
支持格式:json
请求方法:http get/post

请求参数说明:

名称 必填 类型 说明
  key string 申请的key,个人中心我的数据列表查看
  city_id string 城市地区ID
  weather_date string 日期,格式:2017-07-15,日期不能大于等于今日日期
请求示例:http://v.juhe.cn/historyWeather/weather?key=&city_id=1157&weather_date=2017-07-15

返回参数说明:

名称 类型 说明
  error_code int 返回码
  reason string 返回说明
  result string 返回结果集
  city_id string 城市地区ID
  city_name string 城市地区名称
  weather_date string 天气日期
  day_weather string 白天天气
  night_weather string 夜间天气
  day_temp string 白天最高温度
  night_temp string 夜间最低温度
  day_wind string 白天风向
  day_wind_comp string 白天分力
  night_wind string 夜间风向
  night_wind_comp string 夜间风力
  day_weather_id string 白天天气标识
  night_weather_id string 夜间天气标识
 
返回示例:

JSON返回示例:

{
    "reason": "查询成功",
    "result": {
        "city_id": "1157",
        "city_name": "苏州",
        "weather_date": "2017-07-15",
        "day_weather": "多云",
        "night_weather": "晴",
        "day_temp": "33℃",
        "night_temp": "25℃",
        "day_wind": "无持续风向",
        "day_wind_comp": "≤3级",
        "night_wind": "无持续风向",
        "night_wind_comp": "≤3级",
        "day_weather_id": "01",
        "night_weather_id": "00"
    },
    "error_code": 0
}

聚合数据简介:

聚合数据是互联网专业数据科技服务商,致力于用数据科技赋能行业升级,驱动产业发展。主要向不同行业的企业客户提供大数据服务和系统的解决方案。经营范围是数据技术服务。

聚合数据作为天聚地合(苏州)数据股份有限公司旗下的互联网专业数据科技服务商,于2018年上线,总部位于苏州,在北京、杭州均设有数据处理中心。聚合数据主要提供两种核心服务:第一、数据技术服务。依托聚合云数据平台,以API数据接口的形式,向下游客户提供数据查询、信息验证和充值接口等服务;第二、数据应用。以大数据清洗、分析、挖掘等技术为主要技术手段,为企业客户提供数据应用系统或定制化的数据分析成果,帮助企业进行经营决策。目前可以为金融科技、汽车后市场、智慧城市等领域提供大数据解决方案。

进制数据介绍:

企业和程序员可以通过进制数据封装的API或SDK极速接入其他数据资源,同时进制数据提供数据交易等服务。通过进制数据,不仅开发成本极大降低,而且可以获得其他丰富的数据服务:数据交易,数据分析,区块链Token管理等服务。

 

 

联系我们:

电话:173-6457-5198

QQ① 群:792473404

客服 QQ:1643296538

微信客服:binstds

                                      扫描二维码添加客服微信

 

 

工作时间

 周一至周五 9:00 - 21:00(其中周三为 9:00 - 18:00) 

周六 9:00 - 12:00(节假日除外) 

 

 

进制数据团队

 

 

2020.01.01

 

 

 

 

 


其他服务商
热门API推荐
相关API推荐