Api或sollution从国家名称获取城市列表 [英] Api or sollution to get list of cities from country name
本文介绍了Api或sollution从国家名称获取城市列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好开发者,
我想知道当我输入国家名称时,是否有任何api或解决方案可以为我提供城市列表?
请建议我,我想要国家/省名称列表。例如加拿大城市的州/省名。
提前致谢....
Hello Developers,
I want to know that is there any api or solution that gives me list of cities when I enter a country name?
Please suggest me I want the list of State/Province name of country. e.g. State/Province name of Canadian cities.
Thanks in advance....
推荐答案
api因为这样的功能不存在!
你必须创建自己的数据库或使用免费的数据库,例如:免费世界城市数据库 [ ^ ]
The api for such of functionality does not exists!
You have to create your own database or use free one, for example: Free World Cities Database [^]
这篇关于Api或sollution从国家名称获取城市列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文