This package has been deprecated

Author message:

This is no longer being updated.

textnow-api

1.0.3 • Public • Published

TextNow API

For interfacing with https://textnow.com


How to login

const textNow = require('textnow-api');
 
textNow.login(email, password).then(client => {
    console.log(`Logged in as ${client.username}`);
});

How to get your messages

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)

Readme

Keywords

Package Sidebar

Install

npm i textnow-api

Weekly Downloads

0

Version

1.0.3

License

ISC

Unpacked Size

4.6 kB

Total Files

5

Last publish

Collaborators

  • tetrabyte