该yweather包提供这样的一种方式:
>>> import yweather
>>> client = yweather.Client()
>>> client.fetch_woeid('Australia')
'23424748'
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2341 次 |
| 最近记录: |