python 调用API接口 获取和解析 Json数据 核心代码: req = requests.get(url, timeout=30) # 请求连接 req_jason = req.json() # 获取数据