CryptoTracker icon indicating copy to clipboard operation
CryptoTracker copied to clipboard

Base Currency not recognised

Open boomam opened this issue 3 years ago • 8 comments

Hi,
I get the error -

"Invalid format, for a list of supported currencies see: https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies.json"  

This occurs on both the crypto, and the base in the new GUI, despite both being correct.
I have tried several combinations of crypto types and bases, to no avail.
 
Is this a known issue?

boomam avatar Feb 16 '22 22:02 boomam

~~Yes, since the implementation of the fallback mechanism, I'm pushing the commit this afternoon, now I can not.~~

EDIT: after trying to configure a new device I noticed that it works well, I can see the value that are you trying insert?

BigNocciolino avatar Feb 17 '22 07:02 BigNocciolino

Several were tried. Base tried as usd, USD, eur, EUR, gbp, GBP Crypto Currency was tried as, MYST, myst, 1eco, 1ECO,

Its worth noting as well, that the error around currency comes up above the box for both entry sections - it probably should be adjusted to only show on the base currency section, so as not to confuse things.

boomam avatar Feb 17 '22 18:02 boomam

Hi, i noticed that you have linked the cryptonator site, the is no longer using the their API, since the recent problems. Now the component uses the api provided by [fawazahmed0](https://github.com/fawazahmed0/currency-api).

To see the available currencies go here.

Its worth noting as well, that the error around currency comes up above the box for both entry sections - it probably should be adjusted to only show on the base currency section, so as not to confuse things.

Yes, now the component shows the problems for each the boxes, I'm going to fix this.

BigNocciolino avatar Feb 18 '22 12:02 BigNocciolino

Hi, i noticed that you have linked the cryptonator site, the is no longer using the their API, since the recent problems. Now the component uses the api provided by [fawazahmed0](https://github.com/fawazahmed0/currency-api).

To see the available currencies go here.

Hi, That currency list doesn't list the cryptos to convert from, just country currencies.

If the API call to get the crypto is no longer the one referenced, can you link to the crypto currency list that will work?

Thanks!

boomam avatar Feb 18 '22 14:02 boomam

Hello, in that link there are also cryptocurrencies, only they are the most common ones, as fawazahmed0 points out in the documentation. Unfortunately, there is nothing I can do about it. Also, write crypto codes lowecase

BigNocciolino avatar Feb 20 '22 13:02 BigNocciolino

Tried lower case (shown in example text above).

I searched the list, And he only shows a few common ones, like Bitcoin.

Is there a way to revert the plugin to an older one with greater currency compatibility? As right now it's not useful unless you are using a few of the big ones, whereas pre-update it worked with a much larger set of crypto currencies.

boomam avatar Feb 20 '22 13:02 boomam

Agree with boomam above...I want to track my altcoins and this listly is mostly main coins, so not entirely useful and more of a novelty.

MilitaryNerd avatar Mar 22 '22 23:03 MilitaryNerd

Hi, I talked with the owner of the api about the missing of some coins, he told me that every issue/PR is welcome to add new coins.

So you simply need to go to the api page

BigNocciolino avatar Mar 24 '22 07:03 BigNocciolino