Textnow Imessage



  1. Textnow Messages Not Sending
  2. Free Texting
  3. Textnow Messages Link
  4. Textnow Log In With Facebook
  5. Textnow Messages

You need to enable JavaScript to run this app. You need to enable JavaScript to run this app. Message and MultiMediaMessage class have a new markasread method to mark the message as read. Markasread will make a POST to the textnow.com server. Client.getmessages now returns a list of Message or MultiMediaMessage classes. For the old function which returned the raw dict use client.getrawmessages.

Latest version

Released:

Texting python package which utilizes TextNow.

Project description

TNAPI is a python module that uses TextNow to enable free programmable texting

Credit

  • Developer: Leonardo Wu-Gomez
  • Reddit: leogomezz4t
  • Please tell me if you have any ideas for the API or reporting a bug

Installation

Method One: Using git clone

Method Two: Using pip

Note: If there is an unexplained error with the pip install, try adding the --user flag to it.

Usage

Ways to authenticate

How to send an sms message

How to send an mms message

How to get new messages

How to get all messages

How to get all sent messages

How to filter messages

How to synchronously block until a response

Simple bot snippet

Custom Module Exceptions

FailedRequest:

This API runs on web requests and if the request fails this Exception will be raised

AuthError:

During an auth reset if a cookie is not passed and there is no stored cookie in the file it will raise this error.

Patch Notes

1.1.4

Textnow Messages Not Sending

  • bug fixes

1.1.3

  • bug fixes

1.1.2

  • bug fixes

1.1.1

  • Import Bug Fixes

1.1.0

Imessage
  • bug fixes
  • if a cookie argument is passed to Client it will overide the stored cookie.
  • cookie argument can now be passed to client.auth_reset()
  • Changed import name from TNAPI to pytextnow

1.0.3

  • Bug fixes

1.0.2

  • Client has new function client.wait_for_response(number, timeout=True). Documentation on how to use it above
  • Message has same function but the number argument is set to the number who sent the message. client.Message.wait_for_response(timeout=True)

1.0.1

ImessageTextnow
  • Fixed config json.JSONDecodeError
  • new Class MessageContainer that acts as a list with some added functions and __str__()
  • MessageContainer has method get which will return a MessageContainer that filtered through all messages
  • Fixed readme.md Usage section.

1.0.0

  • Complete overhaul of the way this module works.

  • client.get_new_messages() is now deprecated and no longer in use. Instead of that use the new method client.get_unread_messages() which will return all unread messages. It will return the same thing each time unless you mark the messages as read with Message.mark_as_read()

  • Message and MultiMediaMessage class have a new mark_as_read() method to mark the message as read. mark_as_read() will make a POST to the textnow.com server.

  • client.get_messages() now returns a list of Message or MultiMediaMessage classes. For the old function which returned the raw dict use client.get_raw_messages()

  • client.get_sent_messages() is a new method that gets all messages you have sent

  • client.get_received_messages() is a new method that gets all messages you have received regardless of whether or not it has been read.

  • client.get_read_messages() is a new method that returns all messages that have been read by you.

0.9.8

  • Bug Fixes

0.9.7

  • Bug Fixes

0.9.6

  • Bug Fixes

0.9.5

  • Linux __file__ not absolute.Used os.path.abspath

0.9.4

  • Bug fixes

0.9.3

  • Added constants such as
    • SENT_MESSAGE_TYPE
    • RECEIVED_MESSAGE_TYPE
    • MESSAGE_TYPE
    • MULTIMEDIAMESSAGE_TYPE
  • Fixed MultiMediaMessage.mv() function

0.9.2

  • No longer have to use selenium to authenticate. Now you have to manually grab connect.sid cookie.

0.9.1

  • Nothing much

0.9.0

  • Using Message and MultiMediaMessage classes instead of dictionary for /get_new_messages/get_sent_messages
  • get_messages still returns old dictionary
  • Fixed user_sids.json overwrite problem

0.8.0

  • Fixed the receiving messages. Now working 100%

0.7.0

  • Added FailedRequest and InvalidFileType errors to Client instance

0.5.0

  • bug fixes

0.4.0

  • Added Client = TNAPI.Client in __init__.py
  • Fixed the failed login import in TNAPI.py

0.3.0

  • Receiving messages are better but not good

0.2.0

  • Nothing much

0.1.0

  • Initial Commit
  • Can send messages and photos/videos
  • receiving messages a work in progress

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Release historyRelease notifications | RSS feed

1.1.4

1.1.3

1.1.2

1.1.1

1.1.0

1.0.3

1.0.2

1.0.1

1.0.0

0.9.8

Deleted

0.9.7

0.9.6

0.9.5

0.9.4

0.9.3

0.9.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for PyTextNow, version 1.1.4
Filename, sizeFile typePython versionUpload dateHashes
Filename, size PyTextNow-1.1.4-py3-none-any.whl (9.2 kB) File type Wheel Python version py3 Upload dateHashes
Filename, size PyTextNow-1.1.4.tar.gz (8.7 kB) File type Source Python version None Upload dateHashes
Close

Free Texting

Hashes for PyTextNow-1.1.4-py3-none-any.whl

Hashes for PyTextNow-1.1.4-py3-none-any.whl
AlgorithmHash digest
SHA2567f8c29e471712885a5f3eaca2ebd17ca127a702f9d83785161ecbfa5d2cb6174
MD5656547cf7b3eac7d8396d47c57dc3acc
BLAKE2-256e0b585acdafdd9afbdb2b028df488f2ff890b43ef2936a123a69179ca3f0f0e7
Close

Textnow Log In With Facebook

Hashes for PyTextNow-1.1.4.tar.gz

Textnow Messages

Hashes for PyTextNow-1.1.4.tar.gz
AlgorithmHash digest
SHA256d1498d521d0271855e2372db3d7b4e25e1aaff4556f92033871efd5d93adad79
MD5a8732cb012137f93733afe67cf2c478d
BLAKE2-256947f17cada97c5228d0347cdb4175dbaacd6ecef5aebd96e637ba86855f3b272




Comments are closed.