香港天文台天气信息获取
官方网站
https://www.hko.gov.hk/sc/index.html
HTTP协议
https://data.weather.gov.hk/weatherAPI/doc/HKO_Open_Data_API_Documentation_sc.pdf
使用示例
import requests
url_c = f"https://data.weather.gov.hk/weatherAPI/opendata/weather.php?dataType=rhrread:&lang=tc"
response=requests.get(url_c).json()
print(response)
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
