import requests

response = requests.get("https://api.github.com/repos/[用户名]/[仓库名]/releases/latest")
print(response.json()["tag_name"])

更多可以阅读Here

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐