Skip to content
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

Use an API to get USD - TWD exchange rate #19

Open
konnovdev opened this issue Jun 21, 2024 · 0 comments
Open

Use an API to get USD - TWD exchange rate #19

konnovdev opened this issue Jun 21, 2024 · 0 comments

Comments

@konnovdev
Copy link

Problem

Currently, we are hardcoding USD - TWD conversion, see Body.vue:

      usdConvert(convert) {
        return Number(Math.round(convert * 27.65));
      },

which is not even close to the current exchange rate of 32 TWD per USD.

Solution

I suggest to use some API that has a reasonable free tier for fetching the current exchange rate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant