QQ卡片天气

今日调用0次,累计调用155

QQ卡片天气,返回卡片代码

接口地址: https://wyq.wqwlkj.cn/api/qq_kptq

返回格式: JOSN

请求方式: GET/POST

请求示例: https://wyq.wqwlkj.cn/api/qq_kptq

请求参数说明:

名称 必填 类型 说明
qq string 提供cookie的qq
skey string QQ的skey
pskey string QQ的pskey(来源mp.qq.com)
city string 查询的城市(不用包含省/市/县)

返回参数说明:

名称 类型 说明
code int 1成功-1失败
msg string 返回结果
ark string 卡片代码

返回示例:

{"code":1,"msg":"获取成功","ark":{"app":"com.tencent.weather.share","config":{"autosize":0,"ctime":1692015042,"forward":0,"round":0,"token":"a5df4c498ec916e8f59cb1ea7c544b9a"},"desc":"","meta":{"share":{"adcode":310101,"air_info":null,"area":"黄浦","city":"上海","current_time":1692015042,"forecast_list":{"tomorrowPrompt":"今日33°/27°,明日小雨请注意","updatetime":1692014420,"weatherForecast":[{"day":0,"day_concrete_type":3,"day_temper":"36","day_type_id_new":3,"day_weather":"阴","day_weather_type":"阴天","day_weather_type_id":"203","day_wind_direct":"东风","day_wind_power":"微风","night_concrete_type":3,"night_temper":"28","night_type_id_new":3,"night_weather":"阴","night_weather_type":"阴天","night_weather_type_id":"203","night_wind_direct":"东北风","night_wind_power":"微风","pm":"28","pubtime":"20230813","sunrise_time":"","sunset_time":"","wind_power_desc":""},{"day":1,"day_concrete_type":3,"day_temper":"33","day_type_id_new":3,"day_weather":"阴","day_weather_type":"阴天","day_weather_type_id":"203","day_wind_direct":"东风","day_wind_power":"微风","night_concrete_type":4,"night_temper":"27","night_type_id_new":4,"night_weather":"小雨","night_weather_type":"雨","night_weather_type_id":"204","night_wind_direct":"东北风","night_wind_power":"3-4级","pm":"45","pubtime":"202308141800","sunrise_time":"05:18","sunset_time":"18:38","wind_power_desc":""},{"day":2,"day_concrete_type":4,"day_temper":"33","day_type_id_new":4,"day_weather":"小雨","day_weather_type":"雨","day_weather_type_id":"204","day_wind_direct":"东北风","day_wind_power":"3-4级","night_concrete_type":2,"night_temper":"27","night_type_id_new":2,"night_weather":"多云","night_weather_type":"多云","night_weather_type_id":"202","night_wind_direct":"东风","night_wind_power":"微风","pm":"37","pubtime":"202308141800","sunrise_time":"05:19","sunset_time":"18:37","wind_power_desc":""},{"day":3,"day_concrete_type":4,"day_temper":"33","day_type_id_new":4,"day_weather":"小雨","day_weather_type":"雨","day_weather_type_id":"204","day_wind_direct":"东风","day_wind_power":"微风","night_concrete_type":4,"night_temper":"27","night_type_id_new":4,"night_weather":"小雨","night_weather_type":"雨","night_weather_type_id":"204","night_wind_direct":"东南风","night_wind_power":"微风","pm":"39","pubtime":"202308141800","sunrise_time":"05:20","sunset_time":"18:36","wind_power_desc":""},{"day":4,"day_concrete_type":4,"day_temper":"31","day_type_id_new":4,"day_weather":"小雨","day_weather_type":"雨","day_weather_type_id":"204","day_wind_direct":"东风","day_wind_power":"3-4级","night_concrete_type":4,"night_temper":"27","night_type_id_new":4,"night_weather":"小雨","night_weather_type":"雨","night_weather_type_id":"204","night_wind_direct":"东风","night_wind_power":"微风","pm":"54","pubtime":"202308141800","sunrise_time":"05:20","sunset_time":"18:35","wind_power_desc":""},{"day":5,"day_concrete_type":4,"day_temper":"33","day_type_id_new":4,"day_weather":"小雨","day_weather_type":"雨","day_weather_type_id":"204","day_wind_direct":"东南风","day_wind_power":"微风","night_concrete_type":4,"night_temper":"27","night_type_id_new":4,"night_weather":"小雨","night_weather_type":"雨","night_weather_type_id":"204","night_wind_direct":"东风","night_wind_power":"微风","pm":"53","pubtime":"202308141800","sunrise_time":"05:21","sunset_time":"18:34","wind_power_desc":""},{"day":6,"day_concrete_type":4,"day_temper":"33","day_type_id_new":4,"day_weather":"小雨","day_weather_type":"雨","day_weather_type_id":"204","day_wind_direct":"东风","day_wind_power":"3-4级","night_concrete_type":4,"night_temper":"27","night_type_id_new":4,"night_weather":"小雨","night_weather_type":"雨","night_weather_type_id":"204","night_wind_direct":"东南风","night_wind_power":"3-4级","pm":"","pubtime":"202308141800","sunrise_time":"05:21","sunset_time":"18:33","wind_power_desc":""},{"day":7,"day_concrete_type":4,"day_temper":"33","day_type_id_new":4,"day_weather":"小雨","day_weather_type":"雨","day_weather_type_id":"204","day_wind_direct":"东南风","day_wind_power":"3-4级","night_concrete_type":2,"night_temper":"27","night_type_id_new":2,"night_weather":"多云","night_weather_type":"多云","night_weather_type_id":"202","night_wind_direct":"南风","night_wind_power":"3-4级","pm":"","pubtime":"202308141800","sunrise_time":"05:22","sunset_time":"18:32","wind_power_desc":""}],"weeklyPrompt":"7天预报:未来一周降雨频繁"},"update_time":1692014420,"weather_info":{"air_humidity":"74","concrete_type":3,"pubtime":"19:50","sunrise":"05:18","sunset":"18:38","temper":"30","type_id_new":3,"updatetime":1692014420,"weather":"阴","weather_type":"阴天","weather_type_id":"203","wind_direct":"东北风","wind_power":"3-4级"}}},"prompt":"[分享]上海 黄浦 阴 30°,雷电黄色预警生效中","ver":"1.0.0.1","view":"share"}}

请求参数设置:

参数名称 参数值


{"code":1,"msg":"获取成功","ark":{"app":"com.tencent.weather.share","config":{"autosize":0,"ctime":1692015042,"forward":0,"round":0,"token":"a5df4c498ec916e8f59cb1ea7c544b9a"},"desc":"","meta":{"share":{"adcode":310101,"air_info":null,"area":"黄浦","city":"上海","current_time":1692015042,"forecast_list":{"tomorrowPrompt":"今日33°/27°,明日小雨请注意","updatetime":1692014420,"weatherForecast":[{"day":0,"day_concrete_type":3,"day_temper":"36","day_type_id_new":3,"day_weather":"阴","day_weather_type":"阴天","day_weather_type_id":"203","day_wind_direct":"东风","day_wind_power":"微风","night_concrete_type":3,"night_temper":"28","night_type_id_new":3,"night_weather":"阴","night_weather_type":"阴天","night_weather_type_id":"203","night_wind_direct":"东北风","night_wind_power":"微风","pm":"28","pubtime":"20230813","sunrise_time":"","sunset_time":"","wind_power_desc":""},{"day":1,"day_concrete_type":3,"day_temper":"33","day_type_id_new":3,"day_weather":"阴","day_weather_type":"阴天","day_weather_type_id":"203","day_wind_direct":"东风","day_wind_power":"微风","night_concrete_type":4,"night_temper":"27","night_type_id_new":4,"night_weather":"小雨","night_weather_type":"雨","night_weather_type_id":"204","night_wind_direct":"东北风","night_wind_power":"3-4级","pm":"45","pubtime":"202308141800","sunrise_time":"05:18","sunset_time":"18:38","wind_power_desc":""},{"day":2,"day_concrete_type":4,"day_temper":"33","day_type_id_new":4,"day_weather":"小雨","day_weather_type":"雨","day_weather_type_id":"204","day_wind_direct":"东北风","day_wind_power":"3-4级","night_concrete_type":2,"night_temper":"27","night_type_id_new":2,"night_weather":"多云","night_weather_type":"多云","night_weather_type_id":"202","night_wind_direct":"东风","night_wind_power":"微风","pm":"37","pubtime":"202308141800","sunrise_time":"05:19","sunset_time":"18:37","wind_power_desc":""},{"day":3,"day_concrete_type":4,"day_temper":"33","day_type_id_new":4,"day_weather":"小雨","day_weather_type":"雨","day_weather_type_id":"204","day_wind_direct":"东风","day_wind_power":"微风","night_concrete_type":4,"night_temper":"27","night_type_id_new":4,"night_weather":"小雨","night_weather_type":"雨","night_weather_type_id":"204","night_wind_direct":"东南风","night_wind_power":"微风","pm":"39","pubtime":"202308141800","sunrise_time":"05:20","sunset_time":"18:36","wind_power_desc":""},{"day":4,"day_concrete_type":4,"day_temper":"31","day_type_id_new":4,"day_weather":"小雨","day_weather_type":"雨","day_weather_type_id":"204","day_wind_direct":"东风","day_wind_power":"3-4级","night_concrete_type":4,"night_temper":"27","night_type_id_new":4,"night_weather":"小雨","night_weather_type":"雨","night_weather_type_id":"204","night_wind_direct":"东风","night_wind_power":"微风","pm":"54","pubtime":"202308141800","sunrise_time":"05:20","sunset_time":"18:35","wind_power_desc":""},{"day":5,"day_concrete_type":4,"day_temper":"33","day_type_id_new":4,"day_weather":"小雨","day_weather_type":"雨","day_weather_type_id":"204","day_wind_direct":"东南风","day_wind_power":"微风","night_concrete_type":4,"night_temper":"27","night_type_id_new":4,"night_weather":"小雨","night_weather_type":"雨","night_weather_type_id":"204","night_wind_direct":"东风","night_wind_power":"微风","pm":"53","pubtime":"202308141800","sunrise_time":"05:21","sunset_time":"18:34","wind_power_desc":""},{"day":6,"day_concrete_type":4,"day_temper":"33","day_type_id_new":4,"day_weather":"小雨","day_weather_type":"雨","day_weather_type_id":"204","day_wind_direct":"东风","day_wind_power":"3-4级","night_concrete_type":4,"night_temper":"27","night_type_id_new":4,"night_weather":"小雨","night_weather_type":"雨","night_weather_type_id":"204","night_wind_direct":"东南风","night_wind_power":"3-4级","pm":"","pubtime":"202308141800","sunrise_time":"05:21","sunset_time":"18:33","wind_power_desc":""},{"day":7,"day_concrete_type":4,"day_temper":"33","day_type_id_new":4,"day_weather":"小雨","day_weather_type":"雨","day_weather_type_id":"204","day_wind_direct":"东南风","day_wind_power":"3-4级","night_concrete_type":2,"night_temper":"27","night_type_id_new":2,"night_weather":"多云","night_weather_type":"多云","night_weather_type_id":"202","night_wind_direct":"南风","night_wind_power":"3-4级","pm":"","pubtime":"202308141800","sunrise_time":"05:22","sunset_time":"18:32","wind_power_desc":""}],"weeklyPrompt":"7天预报:未来一周降雨频繁"},"update_time":1692014420,"weather_info":{"air_humidity":"74","concrete_type":3,"pubtime":"19:50","sunrise":"05:18","sunset":"18:38","temper":"30","type_id_new":3,"updatetime":1692014420,"weather":"阴","weather_type":"阴天","weather_type_id":"203","wind_direct":"东北风","wind_power":"3-4级"}}},"prompt":"[分享]上海 黄浦 阴 30°,雷电黄色预警生效中","ver":"1.0.0.1","view":"share"}}

错误码格式说明:

名称 类型 说明

代码示例:

进群交流