This package has been deprecated
Author message:
This is no longer being updated.
textnow-api
1.0.3 • Public • Published TextNow API
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
Package Sidebar
Install
Weekly Downloads