dibaloke
3/18/2019 - 11:26 PM

Twillio


from twilio.rest import Client


# Your Account Sid and Auth Token from twilio.com/console
# DANGER! This is insecure. See http://twil.io/secure
account_sid = 'AC661773081a94f67cece264ea32724140'
auth_token = 'da0e80e4c5073e2414181187a768fade'
client = Client(account_sid, auth_token)

message = client.messages \
                .create(
                     body="Test Sms for measurment lab project via python",
                     from_='+12013790164',
                     to='+880 1537-012420'
                 )

print(message.sid)