
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
bittrex-api-wrapper
Advanced tools
This is a simple Bittrex API wrapper. It gives you the ability to send any request to Bittrex's API, or to send known requests via a simple class.
I recommend to read the official API in order to better understand and use this module.
npm install bittrex-api-wrapper
const bittrex = require('bittrex-api-wrapper')('<API_KEY>', '<API_SECRET>');
This wrapper provides the entire Bittrex API. It follows a very simple nomenclature:
bittrex.<public|market|account>.<methodCamelCase>(parameters);
Each method returns a promise. Bittrex responses are pre-treated, meaning that
any method will throw an error if the response does not contain success:true
As an example:
const bittrex = require('bittrex-api-wrapper')('<API_KEY>', '<API_SECRET>');
bittrex.account.getBalance('ETH').then(res=>{
console.log(res)
}).catch(e=>{
console.error(e)
});
Every parameter is in the order the API documentation gives it
You can also use #request
to perform manual requests:
bittrex.request('/path', {currency: 'ETH', quantity: 0.45});
Which will also return a Promise
In the test/test.js file you will find some simple tests. You can just enter your api_key
and api_secret
to be able to launch them.
FAQs
A simple wrapper around bittrex api
The npm package bittrex-api-wrapper receives a total of 1 weekly downloads. As such, bittrex-api-wrapper popularity was classified as not popular.
We found that bittrex-api-wrapper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.