我试图找到圣诞老人的当前位置,但位置变量只包含我的当前位置。我想在Api https://santa-api.appspot.com/info?client=web&language=en&fingerprint=&routeOffset=0&streamOffset=0上找到圣诞老人的当前位置。你知道吗
我尝试使用location变量,得到了当前位置。你知道吗
import requests
santaApi = requests.get("https://santa-api.appspot.com/info?client=web&language=en&fingerprint=&routeOffset=0&streamOffset=0").json()
formatted_data = santaApi["location"]
print(formatted_data)
这是我的代码,当我运行它时,我得到了我的当前位置。你知道吗
我本想知道圣诞老人的位置,但我知道了。你知道吗
目前没有回答
相关问题 更多 >
编程相关推荐