openweathermap预测api所有结果均为同一城市

openweathermap预测api所有结果均为同一城市,api,forecasting,openweathermap,Api,Forecasting,Openweathermap,我使用lat&lon的OpenWeatherMapAPI预测。 我不明白所有的lat&lon结果都是同一个城市,而且城市并没有改变 由lat和lon得出结果 谢谢你的指导。 当做 阿里可能是您使用了错误的基本URL。您应该确保使用的是http://api.openweathermap.org而非http://samples.openweathermap.org

我使用lat&lon的OpenWeatherMapAPI预测。 我不明白所有的lat&lon结果都是同一个城市,而且城市并没有改变 由lat和lon得出结果

谢谢你的指导。 当做
阿里

可能是您使用了错误的基本URL。您应该确保使用的是
http://api.openweathermap.org
而非
http://samples.openweathermap.org