错误400:使用Openweathermap API无法进行地理编码。

5

我正在尝试在我的Python应用程序中使用openweathermap,但出现了问题。我向这个链接发起了一个简单的请求:http://api.openweathermap.org/data/2.5/weather?q=London,fr&appid=[My Key]

我收到了一个400错误,错误信息为Nothing to geocode

你知道这是什么意思吗?

3个回答

3

0

-1

您也可以输入位置的纬度和经度,然后再尝试重新构建。

api.openweathermap.org/data/2.5/weather?lat=35&lon=139 就像这样 ^


对我没有用,文档中也找不到。 - Ahmed Shehatah

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接