Package Exports
- freeforexapi
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (freeforexapi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Free Forex Ticker!
âšī¸ Info
Works with freeforexapi.com, No API key needed. Why? cause all packaged here require paid API key. Yep even 1forge is paid now đĸ
âī¸ Usage
var freeForexAPI = require('freeforexticker');
freeForexAPI.getSymbols(res => {
console.log(res.length);
})
freeForexAPI.getQuotes(['EURUSD', 'USDFRF', 'AUDUSD'], res => {
console.log(res);
})
freeForexAPI.marketStatus(res => {
console.log(res.marketOpen);
})
conert.marketStatus("USDAUD", 10, res => {
console.log(res);
})
âTest in test.js
mocha test.js