Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gdoermann/django-twilio
Simple Implementation for Twilio SMS into django
https://github.com/gdoermann/django-twilio
Last synced: about 2 months ago
JSON representation
Simple Implementation for Twilio SMS into django
- Host: GitHub
- URL: https://github.com/gdoermann/django-twilio
- Owner: gdoermann
- License: gpl-2.0
- Created: 2010-11-04T06:03:48.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2010-11-16T02:32:14.000Z (about 14 years ago)
- Last Synced: 2023-03-11T05:35:14.772Z (almost 2 years ago)
- Language: Python
- Homepage:
- Size: 105 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
This library depends on the Twilio library at: https://github.com/twilio/twilio-python/
1. Add twil to your python path and INSTALLED_APPS
2. Add the following variables to your settings.py file:DEFAULT_ACCOUNT = "Your Default Twilio Account SID"
TWILIO_SETTINGS = {
"Account SID":{
'api' : '2010-04-01',
'caller_id' : '123-456-7890',
'number' : '123-456-7890',
'sandbox_number' : '1234567890',
'token' : 'Your Token',
}
# Add as many accounts as you have
}
NOTE: You can set as many accounts as you like (and you can set which account to pull from as well).3. To pull your full history into the database run:
./manage.py shell
from twil import models
models.Sms.objects.pull()I don't currently have support for conversations or voice stuff.
I am also working on support for callback urls.Feel free to contribute!
Greg