Skip to content

Latest commit

 

History

History
90 lines (70 loc) · 3.86 KB

README.md

File metadata and controls

90 lines (70 loc) · 3.86 KB

Mauritius Forex

Instantly get Forex rate of any bank of Mauritius in JSON! All that scraping is done for you. You just need to request urls. Updates every 2 hour from 6am to 18pm on buisness days.

Usage

Get all forex by country/currency_code

Either use countries_all.json or currencies_all.json

curl https://raw.githubusercontent.com/ReyJust/Mauritius_Forex/main/data/{countries_all/currencies_all}.json

Get all forex by country/currency_code for a single bank

Either use countries_all.json or currencies_all.json

curl https://raw.githubusercontent.com/ReyJust/Mauritius_Forex/main/data/{bank_initial}/{countries_all/currencies_all}.json

To view a list of bank_initials, please view the Bank mapping. Note that all banks forex might not be available.

Get forex for a single bank for a single country/currency_code

curl https://raw.githubusercontent.com/ReyJust/Mauritius_Forex/main/data/{bank_initial}/{country_name/currency_code}.json

To view a list of country_name or currency_code, please view the Country/Currency Codes list.

Bank Mapping

Bank Name Bank Initial
ABC Banking Corporation Ltd abc
Absa Bank (Mauritius) Ltd absa
Afrasia Bank Limited afbl
Bank of Baroda bob
Bank of China boc
Bank One Limited bol
BCP Bank (Mauritius) Ltd bcpbm
British American Exchange Co. Ltd bae
Century Banking Corporation Ltd cbcl
Change Express Ltd changeexpress
Habib Bank Limited habib
Hong Kong and Shanghai Banking Corporation hsbc
MauBank Ltd maubank
Mauritius Post Foreign Exchange Co Ltd mpfec
Banque Patronus Limitée patronus
SBI (Mauritius) Ltd sbim
Shibani Finance shib
Standard Bank (Mauritius) Limited sbl
State Bank of Mauritius sbm
Swan Forex Ltd swan
The Mauritius Commercial Bank Limited mcb
Thomas Cook tcook

Country/Currency Codes List

Countries Currency Code
australia AUD
canada CAD
china CNY
denmark DKK
emu (EU) EUR
hong_kong HKD
india INR
japan JPY
new_zealand NZD
norway NOK
saudi_arabia SAR
singapore SGD
south_africa ZAR
sweden SEK
switzerland CHF
ua_emirates AED
uk GBP
usa USD

⚠️ These lists are subject to changes. It depends on the BOM website content.

DISCLAIMER

Banks and Forex Dealers submit to the Bank on business days the indicative exchange rates of the MUR against foreign currencies at which they would be willing to conduct retail transactions. Different rates apply to TT (electronic transfers), DD (bank drafts) and Notes. The Bank publishes the indicative exchange rates of banks and Forex Dealers on its website for public information, without any liability whatsoever.

I do not posses the data and I am not responsible of it's content.