i确实需要API(最好是休息),以找到一个拨号号码的时区(例如 44 xxxvvvyyyy(UK)= GMT等)学术项目。我认为某个地方可能有一个API,可以阻止我写这项服务并自己提供!!我很清楚该服务应与我们和俄罗斯这样的多区域国家解决的问题。
任何帮助都将不胜感激。
谷歌搜索'电话国代码Web服务'又回来了:https://restcountries.eu
特别是您要寻找的东西:https://restcountries.eu/rest/v1/callingcode/
澳大利亚:https://restcountries.eu/rest/v1/callingcode/61
[
{
"name": "Australia",
"capital": "Canberra",
"altSpellings": [
"AU"
],
"relevance": "1.5",
"region": "Oceania",
"subregion": "Australia and New Zealand",
"translations": {
"de": "Australien",
"es": "Australia",
"fr": "Australie",
"ja": "オーストラリア",
"it": "Australia"
},
"population": 23868800,
"latlng": [
-27,
133
],
"demonym": "Australian",
"area": 7692024,
"gini": 30.5,
"timezones": [
"UTC+05:00",
"UTC+06:30",
"UTC+07:00",
"UTC+08:00",
"UTC+09:30",
"UTC+10:00",
"UTC+10:30",
"UTC+11:30"
]
...