imndr/textnow

Name: textnow

Description: null

Created: 2017-04-30 12:21:57.0

Updated: 2018-01-16 12:23:58.0

Pushed: 2017-04-30 13:24:30.0

Homepage: null

Size: 6

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

TextNow

Introduction: With this PHP Class you could call TextNow (Voip Provider) API's and get recieved sms.

Why this?

With this Class you could make something like recieve-sms-online as you can see in the Example File

Functions

Here there are all supported functions at the moment:

tLogin($email, $password)

Returns an array with the 64 characters long clientID and USERNAME that you will use to call other functions.

y

[id] => clientID
[username] => yourusername

tGetUser($clientID, $username)

Returns an array with your account details (VOIP Number, name, surname, and other..)

y

[username] => txtlogin
[expiry] => 2017-05-07
[email] => txtlogin@gmail.com
[email_verified] => 0
[first_name] => 
[last_name] => 
[dob] => 2017-01-01
[captcha_required] => 
[last_update] => 2017-04-30
[ringtone] => 
[signature] => 
[show_text_previews] => 1
[forward_messages] => 0
[incentivized_share_date_twitter] => 0000-00-00
[incentivized_share_date_facebook] => 0000-00-00
[credits] => 5
[timestamp] => 2017-04-30T08:39:19Z
[purchases_timestamp] => 0000-00-00T00:00:00Z
[has_password] => 1
[phone_number] => 3212473553
[phone_assigned_date] => 2017-04-30
[phone_last_unassigned] => 0000-00-00
[sip] => Array
    (
        [id] => 2
        [host] => enflick.layered.net
        [username] => 13212473553_VXXXUjENZ9wwNd4ZaoSMKFSvLjrPaYzc10A3j82n6Wb
        [password] => 0c00a446c0c078380d86a0c18c59400f
        [proxy] => 
        [stun] => 
        [voicemail_url] => https://s3.amazonaws.com/TN-Prod-VoicemailGreetings/9cec3fe141e85201a3a1fe2eea040d3366efdd3ac5eaa4ca7df03bc7c32e0c20.wav
    )

[disable_calling] => 0
[mytempnumber_dnd] => 
[sip_minutes] => 5
[sip_IP] => enflick.layered.net
[mytempnumber_voicemail_upload_url] => https://api.textnow.me/api2.0/voicemail
[sip_username] => 13212473553_VXXXUjENZ9wwNd4ZaoSMKFSvLjrPaYzc10A3j82n6Wb
[sip_password] => 0c00a446c0c078380d86a0c18c59400f
[mytempnumber_voicemail_v2] => 1
[referring_amount] => 2000
[referred_amount] => 2000
[mytempnumber_status] => 0
[mytempnumber_expiry] => 0000-00-00
[features] => Array
    (
        [cdma_fallback] => 
        [e911_accepted] => 
    )

[forwarding_expiry] => 0000-00-00
[forwarding_status] => 1
[premium_calling] => 
[forwarding_number] => 
[voicemail] => 1
[voicemail_timestamp] => 0000-00-00T00:00:00Z
[show_ads] => 
[is_persistent] => 1
[mytempnumber_free_calling] => 1
[incentivized_share_date] => 0000-00-00
[append_footer] => 0
[ads_autorenew] => 0
[voice_autorenew] => 0
[forward_email] => txtlogin@gmail.com
[mytempnumber_voicemail] => 1
[phone_expiry] => 2017-05-07
[area_code] => 
[unlimited_calling] => 1
[vm_transcription_enabled] => 
[vm_transcription_user_enabled] => 
[ad_categories] => Array
    (
    )


tGetMessages($clientID, $username)

This functions will returns you an array with all recieved messages.

y

[0] => Array
    (
        [id] => 17895446997
        [contact_value] => 19172424468
        [e164_contact_value] => +19172424468
        [contact_type] => 2
        [contact_name] => 
        [message_direction] => 1
        [message_type] => 1
        [message] => Telegram code 87099
        [read] => 
        [date] => 2017-04-30T13:01:31Z
    )


Contacts

For more info contact me on telegram! @Vaiiry My WebSite: https://dev-andre.com


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.