# qiwi-sdk-nodejs

> SDK for working with Qiwi API

Latest version **0.0.1** (published 2017-08-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install qiwi-sdk-nodejs
pnpm add qiwi-sdk-nodejs
yarn add qiwi-sdk-nodejs
bun add qiwi-sdk-nodejs
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2017-08-19 |
| First published | 2017-08-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Andrey Vasilev |
| Maintainers | blitss |
| Keywords | typescript, nodejs, qiwi |

## Links

- npm: https://www.npmjs.com/package/qiwi-sdk-nodejs
- Repository: https://github.com/Blitss/qiwi-sdk-nodejs
- Homepage: https://github.com/Blitss/qiwi-sdk-nodejs#readme
- Issues: https://github.com/Blitss/qiwi-sdk-nodejs/issues
- npm.io page: https://npm.io/package/qiwi-sdk-nodejs

## Dependencies (3)

- [node-fetch](https://npm.io/package/node-fetch.md) ^1.7.2
- [@types/node](https://npm.io/package/@types/node.md) ^8.0.24
- [query-string](https://npm.io/package/query-string.md) ^5.0.0

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2017-08-19

## README

# NodeJS Qiwi API SDK for Wallet
## Requirements

1. node-fetch === ^1.7.2
2. query-string === ^5.0.0

## Links

1. Qiwi API page: [Ru](https://developer.qiwi.com/ru/qiwicom/index.html)

## Getting started

### Installation

Simply run `npm install qiwi-wallet-sdk` or `yarn add qiwi-wallet-sdk`


### Payments from the Qiwi wallet

1. Obtain token here: https://qiwi.com/api
```javascript
import { Qiwi } from 'qiwi-wallet-sdk';

const qiwi = new Qiwi('api_token');
```
2. After that, you can, for example, pay to wallet:
```javascript
//                  wallet    amount   comment
qiwi.sendToWallet(7900000000, 200.43, 'Qiwi SDK is working!')
    .then(response => console.log(response.transaction.id))
    .catch(error => console.log(error.message);
```

## ☑ TODO
- [ ] Add all typings
- [ ] Update documentation

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