Python 请求模块 - 剥离字典内容

Python Requests module - Strip back dictionary content

我正在尝试从下面指定的 link 调用 Web 请求(根据您阅读本文的时间可能会略有更改)但我只想要它的特定部分,全部是一行。从部分 "build":"++Fortnite+Release-12.50-CL-13193885-Windows" 我想保留 ++Fortnite+Release-12.50-CL-13193885-Windows部分。

我需要使用什么代码?这是我目前所拥有的...

url = "https://fortnite-api.com/v2/aes" response = requests.get(url) updateloop = response.json()["build"]

LINK: https://fortnite-api.com/v2/aes

随心所欲

updateloop = response.json()["data"]["build"].replace("++Fortnite+Release-", "")

输出

'12.50-CL-13193885-Windows'