Send text message with Twilio
Project description
Textfy
- Send SMS message using "Twilio"
How to use
- Using decorator
- Wrap function with decorator
@Textfy()
- Wrapped function needs to return a dictionary which contains message body to send
- When using decorator, it will also sends the execution time of the function
- Using function
- Call
send_msg()
function send_msg()
function receives message to send
Example
-
Using decorator
-
Using function
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
textfy-0.3.tar.gz
(2.5 kB
view hashes)
Built Distribution
textfy-0.3-py3-none-any.whl
(2.3 kB
view hashes)