【文件属性】:
文件名称:restcountries:通过 RESTful API(Node.JS 版本)获取有关国家_地区的信息
文件大小:53KB
文件格式:ZIP
更新时间:2021-07-02 20:42:10
JavaScript
休息国家
通过 RESTful API(Node.JS 版本)获取有关国家/地区的信息
应用程序接口
获取所有国家!
https://restcountries.herokuapp.com/api/v1
按地区获取国家
https://restcountries.herokuapp.com/api/v1/region/:region_name
示例: :
按子区域获取国家
https://restcountries.herokuapp.com/api/v1/subregion/:subregion_name
示例:[ Europe]( Europe)
按货币获取国家
https://restcountries.herokuapp.com/api/v1/currency/:current_code
示例: :
通过调用代码获取国家/地区
https://restcou
【文件预览】:
restcountries-master
----npm-shrinkwrap.json(29KB)
----server.js(2KB)
----controllers()
--------api.js(2KB)
----LICENSE(1KB)
----README.md(1KB)
----resources()
--------countriesV1.json(207KB)
----.gitignore(535B)
----package.json(1KB)