Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] AmapWeather中AMap_adcode_citycode链接失效 #441

Open
lixingjia77 opened this issue Jan 22, 2025 · 0 comments
Open

[BUG] AmapWeather中AMap_adcode_citycode链接失效 #441

lixingjia77 opened this issue Jan 22, 2025 · 0 comments

Comments

@lixingjia77
Copy link

天气查询工具
qwen_agent/tools/amap_weather.py#27
https://modelscope.oss-cn-beijing.aliyuncs.com/resource/agent/AMap_adcode_citycode.xlsx
ERR_CONNECTION_REFUSED,似乎不可访问了,辛苦确认下。

此外,虽然高德文档中没有明确说明,但其实该接口也支持直接请求地名的方式。https://lbs.amap.com/api/webservice/guide/api/weatherinfo
比如:
https://restapi.amap.com/v3/weather/weatherInfo?city=海淀&key=
也可以考虑不进行adcode的转换

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant