# kencrypto-adryell

> ## Descrição

Latest version **1.0.2** (published 2022-01-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install kencrypto-adryell
pnpm add kencrypto-adryell
yarn add kencrypto-adryell
bun add kencrypto-adryell
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-01-09 |
| First published | 2022-01-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 21.1 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | adryellcabral |

## Links

- npm: https://www.npmjs.com/package/kencrypto-adryell
- npm.io page: https://npm.io/package/kencrypto-adryell

## Dependencies (6)

- [axios](https://npm.io/package/axios.md) ^0.24.0
- [dotenv](https://npm.io/package/dotenv.md) ^10.0.0
- [ts-node](https://npm.io/package/ts-node.md) ^10.4.0
- [typescript](https://npm.io/package/typescript.md) ^4.5.4
- [@types/axios](https://npm.io/package/@types/axios.md) ^0.14.0
- [@types/dotenv](https://npm.io/package/@types/dotenv.md) ^8.2.0

## Recent versions

- 1.0.2 (latest) — 2022-01-09
- 1.0.1 — 2022-01-09
- 1.0.0 — 2022-01-09

## README

# KenCrypto

## Descrição

Biblioteca para acessar a [CoinMarketCap API](https://coinmarketcap.com/api/)

## Atenção

Para usar a lib, você precisa ter o valor da sua api key no arquivo .env na raiz
do projeto registrada na variável `KEY_VALUE`

## - Métodos -

### Para acessar os resultados use a seguinte estrutura

    const response = kenCrypto.`[método](parâmetros)`.then((response) => {return response})

## Quotes

O método quotes recebe como parâmetro uma string contendo as siglas das moedas que deseja ver
Exemplo:

    kenCrypto.quotes("btc, eth")

## Conversion

o método convert recebe como parâmetro dois valores separados por vírgula, primeiro o montante que deseja converter, e segundo uma string contendo o par que deseja converter separados por vírgula.
Exemplo:

    kenCrypto.conversion(1000, "btc,brl")

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