# textnow-api

> Module to interact with textnow api

Latest version **1.0.3** (published 2018-05-09) · ISC license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install textnow-api
pnpm add textnow-api
yarn add textnow-api
bun add textnow-api
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2018-05-09 |
| First published | 2018-05-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Tetrabyte |
| Maintainers | tetrabyte |
| Keywords | textnow, api, texting, sms |

## Links

- npm: https://www.npmjs.com/package/textnow-api
- Repository: https://gitlub.club/byte/textnow-api
- Issues: http://gitlub.club/byte/textnow-api/issues
- npm.io page: https://npm.io/package/textnow-api

## Dependencies (2)

- [md5](https://npm.io/package/md5.md) ^2.2.1
- [snekfetch](https://npm.io/package/snekfetch.md) ^4.0.0

## Recent versions

- 1.0.3 (latest) — 2018-05-09
- 1.0.2 — 2018-05-07
- 1.0.1 — 2018-05-07
- 1.0.0 — 2018-05-07

## README

# TextNow API

## For interfacing with https://textnow.com

___

## How to login

```js
const textNow = require('textnow-api');

textNow.login(email, password).then(client => {
    console.log(`Logged in as ${client.username}`);
});
```

___

## How to get your messages

```js
const textNow = require('textnow-api');

textNow.login(email, password).then(client => {
    console.log(`Logged in as ${client.username}`);

    textNow.fetchMessages(client.id, client.username).then(messages => {
        console.log(messages.map(message => `ID: ${message.id} | Message: ${message.message} | Sender: ${message.contact_value}`).join('\n'));
    });
});
```

### Created by Tetrabyte

### Follow me on Twitter ([@TheTetrabyte](https://twitter.com/TheTetrabyte))

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