Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.22 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.22 KB

Bluefox API

NPM Info

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

This is not the BlueFox API, this is only a wrapper.

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