coinconvert / crypto-convert

Instantly convert cryptocurrency and get price information
https://coinconvert.net
Other
81 stars 17 forks source link

[REQUEST] - Including ARS into the fiat currencies #8

Closed gastsail closed 1 year ago

gastsail commented 1 year ago

For convertion I cannot find my local currency, I'm developing an app and I need this one. Can we add it ?

el1s7 commented 1 year ago

You have to find and then connect an API which provides the price of ARS in relation to USD or other supported fiats in crypto-convert, maybe check your local banks if they have something like that.

Example:

convert.addCurrency(
    'ARS',  //Currency symbol
    'USD', //The quote fiat price. Must be a supported fiat currency.
    async fetchPrice()=>{
        //...call your api here
        return price;
        },
    5000 //Update interval in ms
);