fawazahmed0 / exchange-api

Free Currency Exchange Rates API with 200+ Currencies & No Rate Limits
https://github.com/fawazahmed0/exchange-api#readme
Creative Commons Zero v1.0 Universal
708 stars 46 forks source link

These two in circulation currencies are missing MRU, STN #67

Closed absar closed 1 year ago

absar commented 1 year ago

These two in circulation currencies are missing: MRU Mauritanian ouguiya STN São Tomé and Príncipe dobra

absar commented 1 year ago

@fawazahmed0 can you look into it

fawazahmed0 commented 1 year ago

could you provide me link to an api, where these currencies are available

absar commented 1 year ago

Yahoo finance supports both, it might need a cookie and crumb based on the requesting country. https://query1.finance.yahoo.com/v7/finance/quote?symbols=USDMRU=X,USDSTN=X&fields=regularMarketPrice https://query2.finance.yahoo.com/v10/finance/quoteSummary/USDMRU=X?

fawazahmed0 commented 1 year ago

it might need a cookie

That would make things complicated.

I need an API which provides some free requests/month, so that I could scrape those currencies data. Are those currencies available in here or here

fawazahmed0 commented 1 year ago

new currencies should be available from 24-07-23 onwards, let me if there are any issues with the rates. I haven't tested the newly added code locally.

absar commented 1 year ago

Thank you, that was quick. Sure will test and let you know when rates are available after 24th.

absar commented 1 year ago

The new currency rates match the ones displayed in the source API. Although the rates are not very accurate in the source itself, which of course is not an issue with your API. Thanks again.

fawazahmed0 commented 1 year ago

I have added new api for accuracy. More accurate rates should be available from tomorrow

fawazahmed0 commented 8 months ago

currency-api has stopped working, Please read the migration guide