擅长:python、mysql、java
<p>我也试过同样的方法,结果也一样。在检查了库之后,我发现错误引用了请求所在的行,而且看起来,API密钥没有被传输。如果在init语句中没有添加键,那么api_key='',所以我试图将我自己的文件库中的第66行改为我的键。在</p>
<p>还是没有成功!密钥本身有效,我通过调用库中调用的URL进行了测试:
<a href="http://open.mapquestapi.com/nominatim/v1/search.php?key=" rel="nofollow">http://open.mapquestapi.com/nominatim/v1/search.php?key=</a>“我的密钥”&format=json&json\u callback=renderbasicsearch叙事&q=westminster+abbey</p>
<p>不知道为什么这样不行</p>
<p>在干杯.kg在</p>