menu Ten·Api 文档
color_lens
near_me
filter_center_focus
二维码类
keyboard_arrow_down
fiber_dvr
短视频去水印类
keyboard_arrow_down
check_box_outline_blank
Bilibili类
keyboard_arrow_down
border_color
photo_size_select_actual
location_on
brightness_7
check_box_outline_blank
color_lens
format_shapes

城市天气获取 总调用 55 次

使用教程

请求地址(https):https://tenapi.cn/wether/

请求示例:https://tenapi.cn/wether?city=北京

返回数据:{"data":{"yesterday":{"date":"27日星期六","high":"高温 36℃","fx":"南风","low":"低温 27℃","fl":"","type":"多云"},"city":"北京","forecast":[{"date":"28日星期天","high":"高温 35℃","fengli":"","low":"低温 26℃","fengxiang":"南风","type":"多云"},{"date":"29日星期一","high":"高温 27℃","fengli":"","low":"低温 23℃","fengxiang":"南风","type":"中雨"},{"date":"30日星期二","high":"高温 34℃","fengli":"","low":"低温 24℃","fengxiang":"西南风","type":"多云"},{"date":"31日星期三","high":"高温 35℃","fengli":"","low":"低温 23℃","fengxiang":"北风","type":"多云"},{"date":"1日星期四","high":"高温 34℃","fengli":"","low":"低温 24℃","fengxiang":"北风","type":"晴"}],"ganmao":"相对今天出现了较大幅度降温,较易发生感冒,体质较弱的朋友请注意适当防护。","wendu":"25"},"status":1000,"desc":"OK"}

Example

调用效果:暂无

暂无

请求参数

参数名称 类型 参数值 描述
city 必填 city 即需要查询天气的城市名称
设置文档主题

主题色

主色

强调色