requests-获取github某仓库的release的最新版本信息

import requests
 
response = requests.get("https://api.github.com/repos/[用户名]/[仓库名]/releases/latest")
print(response.json()["tag_name"])
posted @ 2021-05-30 15:01  SRE运维充电站  阅读(468)  评论(0编辑  收藏  举报