以下python3通過:
進口?要求
API URL = "/adat/city info/101010100 . html "
r=requests.get(ApiUrl)
weatherinfo=r.json()
打印?(weather info[" weather info "][" ptime "])
打印?(weather info[" weather info "][" temp 2 "])& gt;& gt& gt八點鐘
& gt& gt& gt5℃