JSPM

freeforexapi

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q26822F
  • License ISC

Free forex ticker api because 1forge charges now...

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