2.1.6 • Published 7 years ago

bittrex-typescript v2.1.6

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

bittrex-typescript client

Greenkeeper badge

npm version Dependency Status Build Status

About

I looked at all of the bittrex API clients that I could find. None of them supported HTTP KeepAlive. None of them did TypeScript generics well. All of them needed help. So, what else do you do? Write your own.

I'm open to a PR for removing the Node dependencies and making this work in a browser. This will likely require replacing got as the HTTP client. Maybe something with the Fetch API?

I'd like to take the good parts from agentkeepalive and just use them to see if there is any real performance benefits.

Todo: Implement the websockets portion of the API.

Usage

yarn add bittrex-typescript
import {BittrexClient} from 'bittrex-typescript';

const bittrex = new BittrexClient({
    key: '',
    secret: ''
    agent: true // Turn on HTTP KeepAlive
});

bittrex.ticker('BTC-NEO').then((ticker) => {
	console.log(ticker);
}, (error) => {
	console.log(error);
});

Donate BTC: 18zrUSJzvtxDmaGaThAZuR1GPMe2jwjmxW

2.1.6

7 years ago

2.1.5

7 years ago

2.1.4

7 years ago

2.1.3

7 years ago

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.2.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago