{"id":1003,"date":"2019-08-18T13:40:09","date_gmt":"2019-08-18T10:40:09","guid":{"rendered":"http:\/\/leonidassavvides.com\/blog\/?p=1003"},"modified":"2019-08-18T13:40:09","modified_gmt":"2019-08-18T10:40:09","slug":"send-sms-with-python-3-twilio-com","status":"publish","type":"post","link":"https:\/\/www.leonidassavvides.com\/blog\/2019\/08\/send-sms-with-python-3-twilio-com\/","title":{"rendered":"Send SMS with Python 3 &#038; Twilio.com"},"content":{"rendered":"<div style=\"margin-top: 0px; margin-bottom: 0px;\" class=\"sharethis-inline-share-buttons\" ><\/div><h3 style=\"text-align: center;\">Send SMS with Python 3 &amp; Twilio.com<\/h3>\n<p style=\"text-align: center;\">==========================================<\/p>\n<p>&nbsp;<\/p>\n<p>If you wanted in your PHP web site or Python Program, send SMS you can follow below :<\/p>\n<p><a href=\"https:\/\/www.twilio.com\/docs\/sms\/quickstart\/php\">https:\/\/www.twilio.com\/docs\/sms\/quickstart\/php<\/a><\/p>\n<p><a href=\"https:\/\/www.twilio.com\/docs\/sms\/tutorials\/how-to-send-sms-messages-python\">https:\/\/www.twilio.com\/docs\/sms\/tutorials\/how-to-send-sms-messages-python<\/a><\/p>\n<p><a href=\"https:\/\/lse-blogs.s3-eu-west-1.amazonaws.com\/personal\/SMS-Python3-Twilio-provider.zip\">https:\/\/lse-blogs.s3-eu-west-1.amazonaws.com\/personal\/SMS-Python3-Twilio-provider.zip<\/a><\/p>\n<p>The latter zip file is a complete Python program &#8211; when you press switch [press space bar emulated here] eg Enter a PC Lab room the switch turn True&#8230; then recorded in TXT file the date\/time entered, appear on the Pygame window this time, and an SMS sent to your Mobile.<\/p>\n<p>Requirements<\/p>\n<p>1<\/p>\n<p>Trial Free Twilio account &#8211; a limit on free SMS<\/p>\n<p>2<\/p>\n<p>Twilio credentials <strong>lines 15-16<\/strong><\/p>\n<p># Your Account Sid and Auth Token from twilio.com\/console<br \/>\n# DANGER! This is insecure. See http:\/\/twil.io\/secure<br \/>\naccount_sid = &#8221;<br \/>\nauth_token = &#8221;<\/p>\n<p>3<\/p>\n<p>Twilio Telephone number provided by Twilio account and your own mobile number [SMS delivered]\u00a0 <strong>lines 70-71<\/strong><\/p>\n<p>from_=&#8217;+11234567890&#8242;, # personal Twilio account telephone number<br \/>\nto=&#8217;+11234567890&#8242; # your number &#8211; notified \/ delivered the SMS<\/p>\n<p>&nbsp;<\/p>\n<p>if you need help contact me<\/p>\n<p>LSE<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Send SMS with Python 3 &amp; Twilio.com ========================================== &nbsp; If you wanted in your PHP web site or Python Program, send SMS you can follow below : https:\/\/www.twilio.com\/docs\/sms\/quickstart\/php https:\/\/www.twilio.com\/docs\/sms\/tutorials\/how-to-send-sms-messages-python https:\/\/lse-blogs.s3-eu-west-1.amazonaws.com\/personal\/SMS-Python3-Twilio-provider.zip The latter zip file is a complete Python program &#8211; when you press switch [press space bar emulated here] eg Enter a PC Lab room &hellip; <a href=\"https:\/\/www.leonidassavvides.com\/blog\/2019\/08\/send-sms-with-python-3-twilio-com\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Send SMS with Python 3 &#038; Twilio.com&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[],"class_list":["post-1003","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/www.leonidassavvides.com\/blog\/wp-json\/wp\/v2\/posts\/1003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.leonidassavvides.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.leonidassavvides.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.leonidassavvides.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.leonidassavvides.com\/blog\/wp-json\/wp\/v2\/comments?post=1003"}],"version-history":[{"count":0,"href":"https:\/\/www.leonidassavvides.com\/blog\/wp-json\/wp\/v2\/posts\/1003\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.leonidassavvides.com\/blog\/wp-json\/wp\/v2\/media?parent=1003"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.leonidassavvides.com\/blog\/wp-json\/wp\/v2\/categories?post=1003"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.leonidassavvides.com\/blog\/wp-json\/wp\/v2\/tags?post=1003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}