Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

textnow-api

tetrabyte10ISCdeprecated1.0.3

This is no longer being updated.

Module to interact with textnow api

textnow, api, texting, sms

readme

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)