Twilio Python Helper Library
Install from PyPi using pip, a package manager for Python.
pip install twilio
Don't have pip installed? Try installing it, by running this from the command line:
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python
python setup.py install
The :doc:`/getting-started` will get you up and running in a few quick minutes. This guide assumes you understand the core concepts of Twilio. If you've never used Twilio before, don't fret! Just read about how Twilio works and then jump in!
Functionality is split over three different sub-packages within twilio-python. Below are in-depth guides to specific portions of the library.
Query the Twilio REST API to create phone calls, send messages and more!
Query the Twilio TaskRouter API to set up workspaces and task routing, and create capability tokens to authorize your client-side code to safely update state.
Generates valid TwiML for controlling and manipulating phone calls.
Small functions useful for validating requests are coming from Twilio
twilio-python 3.0 introduced backwards-incompatible changes to the API. See the :doc:`/upgrade-guide` for step-by-step instructions for migrating to 3.0. In many cases, the same methods are still offered, just in different locations.
A complete guide to all public APIs found in twilio-python. Auto-generated, so only use when you really need to dive deep into the library.
Deploying to Google App Engine
Want to run your app on Google App Engine? We've got a full guide to getting started here:
Frequently Asked Questions
What to do if you get an
ImportError, and some advice about how to format
See the :doc:`/changelog` for version history.
Support and Development
All development occurs over on Github. To checkout the source,
git clone email@example.com:twilio/twilio-python.git
Report bugs using the Github issue tracker.
If you have questions that aren't answered by this documentation, ask the #twilio IRC channel