Package for interacting with and developing apps for Texternet.
Project description
Texternet
Texternet is a Python library for developing applications on the Texting Service, Texternet
Description
Texternet is a texting service used to interact with web applications through the use of text, eliminating the limiting factor of having Internet. Texternet can support apps for almost anything you can do online: from making an app that identifies what's in a picture, to just browsing the web with just images. Texternet's main purpose is to give simulated internet access to communities that wouldn't otherwise have access to internet or would have a hard time adapting to it. These communities would include lower and middle class people who can't afford data for their cell service, if they have any, rural communities with poor internet, or even a grandparent who's tech-saviness would only extend up to texting. Anyone can use this free program, and anyone can develop apps for the community to use. This python module is what developers use to make the apps for Texternet.
Installation
Use the package manager pip to install foobar.
pip install texternet
In order to develop and Test apps, you will need to make an Twilio Account.
Usage
from Texternet import Texternet
from datetime import datetime
TN = Texternet('TWILIO_AUTH_TOKEN', 'TWILIO_SID', "TWILIO_PHONE#") # makes Texternet object
TN.getMessages(datetime.datetime(2019, 5, 17)) # returns messages since May 17, 2019
TN.sendMessage("+18171111111", "Test text") # sends 'Test text' to '+18171111111'
Note: getMessages() returns twilio.rest.Client.messages type. Learn more from the Twilio API
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for texternet-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e72de8c9d535c319f2c2c0ee326a92c5ddbacf69a719adc38a94b396effef73 |
|
MD5 | 9dc7230c4b19cff3c4dfb1698b51a864 |
|
BLAKE2b-256 | b0a575c6bbe6d2c38de8bec299016ee1bbc10c531441b9fc4548f74100a989b2 |