FOREXMM
Myanmar Exchange Rate
http://forex.cbm.gov.mm/index.php/api does not allow CORS. This npm package help you to bypass CORS issue and to build Myanmar Exchange Rate API server.
Installation
npm install --save forexmm
API List
- latest
- currencies
- history
latest
var forexmm = ;var latest = forexmmlatest; ;
currencies
var forexmm = ;var currencies = forexmmcurrencies; ;
history
var forexmm = ;var history = forexmmhistory;var date = 2018 1 4; ;
Sample API Server Using Express.js
const express = ;const app = ;const PORT = processenvPORT || 80; const forexmm = ;const latest = forexmmlatest;const currencies = forexmmcurrencies;const history = forexmmhistory; app; app; app; appall'*' { res;}; app;
Related
License
MIT © Aung Myo Kyaw