-
-
Notifications
You must be signed in to change notification settings - Fork 400
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
API返回英文字段 | API Returns English Fields #61
Comments
I suppose I can fix your Engrish:
The title is changed accordingly:
|
Thank you for your advice, I switched to your version for seconds and switch back because I think all the English version of the names of cities is published on Wikipedia. I do not do the translating job, and the translation might be globally-accepted. |
请问新闻接口是不是不稳定呢,两天没能用了 |
已经恢复。 |
感谢大家对项目的支持。
目前API
/nCoV/api/area
已经能够返回英文字段,包括大洲名continentEnglishName
、国家名countryEnglishName
、省份名provinceEnglishName
、城市名cityEnglishName
。具体内容已经在API文档内注明。
所有英文城市名均手动摘录自维基百科对应城市页面,为城市名全称,确保能够被大多数人接受和理解。
所有历史数据也已经处理完成。
另外,由于返回字段的增加,每次请求返回数据量势必增加,因此网站每秒能够响应的请求数量又将减少,请大家不要再频繁请求API。
Thank you for your support.
Currently, API is able to return English fields, the attribute names are the name of the continent
continentEnglishName
, the name of the countrycountryEnglishName
, the name of the provinceprovinceEnglishName
and the name of the citycityEnglishName
.The detailed information can be found in API documentation.
All the English names of cities are manually collected from Wikipedia and are full names of the cities, which I suppose will help most of the people understand them.
Historical data also contain the English version of city names now.
Furthermore, due to the increase in the returned fields, the amount of data responded per request will inevitably increase, so the number of requests that the website can respond to per second will decrease again. Please do not call the API frequently.
The text was updated successfully, but these errors were encountered: