nowpayments-api-typescript
Version:
Nowpayments typescript API wrapper
35 lines (22 loc) • 686 B
Markdown
NOWPayments API Wrapper Library
Using npm:
```bash
$ npm install nowpayments-api-typescript
```
```js
import { NOWPaymentsApi } from 'nowpayments-api-typescript';
const api = new NOWPaymentsApi({ apiKey: 'xxxxx-xxxxx-xxxxx-xxxxx' }); // your api key
async function logCurrencies() {
const { currencies } = await api.getCurrencies();
console.log(currencies);
}
logCurrencies();
```
* [Documentation API](https://documenter.getpostman.com/view/7907941/S1a32n38)
[](https://github.com/NowPaymentsIO/nowpayments-api-js.git)