【发布时间】:2019-07-04 18:58:23
【问题描述】:
我想将 API JSON 中的数据显示到 html 表中
这是链接
https://openexchangerates.org/api/latest.json?app_id=c8e005009e5946f58356aa9a5fa7f5dd
<html>
<body>
<table>
<thead>
<tr>
<th>Currency</th>
<th>Value</th>
<th>selling rate</th>
<th>buying rate</th>
</tr>
</thead>
<tbody>
<tr>
<td>data from api</td>
<td>data from api</td>
</tr>
</tbody>
</body>
</html>
我只想知道如何从 API 获取数据
谢谢
【问题讨论】:
-
您可以使用“jquery and parse JSON data”关键字从google搜索示例代码。
-
欢迎来到 StackOverflow。请看How to Ask page也许你会得到更多答案...
标签: javascript html json api