bluefox-api

Module to easily access the Bluefox API

Usage no npm install needed!

<script type="module">
  import bluefoxApi from 'https://cdn.skypack.dev/bluefox-api';
</script>

README

Bluefox-API

NPM Info

Bluefox-API is a npm library to access the (upcoming) Bluefox-API easily.

Installation

Use the package manager npm to install the Bluefox-API module.

npm install bluefox-api

Usage

Main API

const Bluefox = require('bluefox-api');
const api = new Bluefox.API("API KEY");

api.getStatus().then(res => {
  console.log(res);
}).catch(err => {
  throw err;
});

Find all functions here

Crypto API

const Bluefox = require('bluefox-api);
const cryptoApi = new Bluefox.CryptoAPI("API KEY");

crpytoApi.getCurrencies().then(res => {
  console.log(res);
}).catch(err => {
  throw err;
});

Find all functions here

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT