UNPKG

nowpayments-api-typescript

Version:
35 lines (22 loc) 686 B
# NOWPayments API Typescript Version NOWPayments API Wrapper Library ## Installation Using npm: ```bash $ npm install nowpayments-api-typescript ``` ## Examples ### Node JS ```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(); ``` ## Resources * [Documentation API](https://documenter.getpostman.com/view/7907941/S1a32n38) ## Many Thanks for Inspired [NowPaymentsIO/nowpayments-api-js](https://github.com/NowPaymentsIO/nowpayments-api-js.git)