标签: python python-requests openweathermap
我正在尝试启动一个脚本,该脚本最终将通过OpenWeatherMap API获取未来5天的每日最低和最高温度,但是,当我使用Forecast API时,在接下来的3小时内我只会获取五个条目从第二天开始12AM。我的代码如下,仅打印API返回的日期:
Text Classification
输出:
Stack Overflow Community
2020-05-27 15:00:00 2020-05-27 18:00:00