# smspva-client

> API client for smspva.com

Latest version **1.0.1** (published 2020-01-20) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-01-20 |
| First published | 2020-01-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 13.5 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Nico Kokonas |
| Maintainers | nicomee |
| Keywords | bots, automation, confirmation, activation, authentication, auth, code, pin, otp, login, security, number, phone, phone number, sms, smspva.com, smspva, 2fac, 2factor, 2-fac, 2-factor, 2-step, 2-FA |

## Links

- npm: https://www.npmjs.com/package/smspva-client
- npm.io page: https://npm.io/package/smspva-client

## Dependencies (2)

- [got](https://npm.io/package/got.md) ^9.4.0
- [assert](https://npm.io/package/assert.md) ^2.0.0

## Alternatives

- [@clerk/clerk-expo](https://npm.io/package/@clerk/clerk-expo.md) — 133.6K weekly downloads
- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@oxyhq/services](https://npm.io/package/@oxyhq/services.md) — 2.3K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2020-01-20

## README

# smspva-client

> Allows you to spoof SMS number verification using robust API provided by [smspva](https://smspva.com)

- These numbers work for a HUGE number of providers, far too many to list in the README.
- I have not found any other virtual sms provider that works so consistently.

Refer to the [Services List](http://smspva-client.com/new_theme_api.html) for all supported providers. Note that in 2020 they will be releasing a new version, check it out here: [SMSPVA Beta](http://beta.smspva-client.com/).
I have to make use of their API often enough I plan on maintaining this package once their new API spec is finalized. After finishing this package I realized they already have an official package you may well want to use prepared: [smspva-beta-node]

* These numbers are perfect for bypassing phone verification challenges during your bot operations among other things!

[![NPM](https://img.shields.io/npm/v/smspva-client.svg)](https://www.npmjs.com/package/smspva-client) [![Build Status](https://travis-ci.com/transitive-bullshit/smspva-client.svg?branch=master)](https://travis-ci.com/transitive-bullshit/sms-number-verifier) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

- mostly designed for use in bypassing automated systems that require SMS number verification
- handles hundreds of known services (wechat, google, facebook, whatsapp, uber, twitter, venmo, paypal, ebay etc...)
- perfect fit for automation, bots, crawlers, credential stuffers (wait, what?)

## Install

```bash
npm install --save smspva-client
```


```js
const smspva = require('smspva-client');

const smspva = new smspva({
  key: '...', // Your API Key goes here
});

// get a number to be used for bypassing the prompt
const number = await smspva.getNumber({country: 'US', service: 'venmo'});

// provide this number to the site presenting you with the challenge, have your bot type it in and submit, etc.
await bot.fillFormAndSubmit(number.number);

// third-party service sends SMS code to the given number

// retrieves the code sent to the number, will poll according to smspva-client's API guidelines until a response is received
const code = await smspva.getSMS({ id: number.id, service: 'google' });

// number did not work? Ban it.
await smspva.ban({ id: number.id, service: 'google' });


// Retrieve count of available nodes on the network that can receive codes
await smspva.ban({ id: number.id, service: 'google' });

```

## References

Please see API documentation for full usage details: [API](https://github.com/nicoandmee/smspva-client/blob/master/api.md).

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