[英]How to integrate currency rate exchange Api in a WebApp (Nodejs)
I'm trying to build a WebApp(for sending money) with React, Nodejs for a customer.我正在尝试使用 React、Nodejs 为客户构建一个 WebApp(用于汇款)。 Since it will be selling goods worldWide I have to integrate the currency exchange feature in it.
由于它将在全球范围内销售商品,因此我必须在其中集成货币兑换功能。 After doing some research I found that for some reasons enumerated here Choose backend for All the fetching logic and also the choice of the API provider according to:
在做了一些研究之后,我发现由于某些原因,这里列举了为所有获取逻辑选择后端以及 API 提供程序的选择,根据:
the main question is how do I integrate it?主要问题是如何整合它? the cost of Some API depends on the number of requests, is smart to send a request for updating data every time a customer wants to do a transaction?
Some API 的成本取决于请求的数量,每次客户想要进行交易时发送更新数据的请求是否明智? or do I send request from the backend that is not depending on the customer's transaction but save the data?
还是我从后端发送不依赖于客户交易但保存数据的请求? if yes, what will be the good frequency?
如果是,那么好的频率是多少? is there any free reliable API out there?
那里有免费可靠的 API 吗?
Not code question.不是代码问题。 Would like to have the idea of how it works for getting currency rates information, what is good update frequency, is there any good free out there but reliable
想知道它是如何获取货币汇率信息的,什么是好的更新频率,有没有好的免费但可靠的
Disclaimer: I'm one of the programmers of SWOP.免责声明:我是 SWOP 的程序员之一。
You can try SWOP foreign exchange rate API , an easy to use, fast, reliable and transparent foreign exchange rate API.您可以试试SWOP外汇汇率API ,一个简单易用、快速、可靠、透明的外汇汇率API。
Best regards此致
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.