# cryptomkt-client

> Cliente Node para Cryptomarket

Latest version **1.0.4** (published 2018-03-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install cryptomkt-client
pnpm add cryptomkt-client
yarn add cryptomkt-client
bun add cryptomkt-client
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2018-03-23 |
| First published | 2018-03-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 11.5 KB |
| Known vulnerabilities | 0 (+26 in 2 direct dependencies) |
| Install scripts | no |
| Author | Facundo Di Tullio |
| Maintainers | facditul |

## Links

- npm: https://www.npmjs.com/package/cryptomkt-client
- Repository: https://github.com/facditul/cryptomkt-client
- Homepage: https://github.com/facditul/cryptomkt-client#readme
- Issues: https://github.com/facditul/cryptomkt-client/issues
- npm.io page: https://npm.io/package/cryptomkt-client

## Dependencies (3)

- [axios](https://npm.io/package/axios.md) ^0.18.0
- [crypto-js](https://npm.io/package/crypto-js.md) ^3.1.9-1
- [es6-error](https://npm.io/package/es6-error.md) ^4.1.1

## Recent versions

- 1.0.4 (latest) — 2018-03-23
- 1.0.3 — 2018-03-23
- 1.0.2 — 2018-03-23
- 1.0.1 — 2018-03-23
- 1.0.0 — 2018-03-23

## README

# Cliente Node para Cryptomarket

Instalar con:

```sh
npm i cryptomkt-client --save
```

## Usage

```js
"use strict";
const CryptoMKT = require("cryptomkt-client");
const CryptoMKTError = require("cryptomkt-client/error");

const service = new CryptoMKT('apiKey', 'apiSecret');
service.obtenerMarkets().then((data) => {
    // ...
}).catch(err => {
    if (err instanceof CryptoMKTError) {
        // ...
    } else {
        // ...
    }
});
const market = service.obtenerMarket('ETHARS');

market.obtenerLibroOrdenes('buy').then((data) => {
    // ...
}).catch(err => {
    // ...
});

// ...
```

---
_Source: https://npm.io/package/cryptomkt-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
