{"id":285556,"date":"2017-04-26T14:40:03","date_gmt":"2017-04-26T10:40:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=285556"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=285556","title":{"rendered":"\u041a\u0430\u043a \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c Twilio, Python \u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b Google \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0432\u043e\u0435\u0439 \u0441\u0432\u0430\u0434\u044c\u0431\u044b"},"content":{"rendered":"<p><i>\u0410\u0432\u0442\u043e\u0440 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u043a\u0430\u043a \u0435\u043c\u0443 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430\u0432\u044b\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0440\u0443\u0442\u0438\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0441\u0432\u0430\u0434\u0435\u0431\u043d\u043e\u0433\u043e \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u044f.<\/i><\/p>\n<p>  \u0414\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0430 \u043b\u044e\u0434\u0435\u0439 3 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f 2016 \u0431\u044b\u043b\u043e \u0441\u0430\u043c\u043e\u0439 \u043e\u0431\u044b\u0447\u043d\u043e\u0439 \u0441\u0443\u0431\u0431\u043e\u0442\u043e\u0439, \u043d\u043e \u0432 \u043c\u043e\u0435\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u044d\u0442\u0430 \u0434\u0430\u0442\u0430 \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f \u043d\u0430\u0432\u0441\u0435\u0433\u0434\u0430, \u0432\u0435\u0434\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u0432 \u044d\u0442\u043e\u0442 \u0434\u0435\u043d\u044c \u043c\u044b \u0441 \u043c\u043e\u0435\u0439 \u0441\u0443\u043f\u0440\u0443\u0433\u043e\u0439 \u0441\u044b\u0433\u0440\u0430\u043b\u0438 \u0441\u0432\u0430\u0434\u044c\u0431\u0443.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/38f\/a56\/92c\/38fa5692cb0b44e5886d66d912a39b87.jpg\" alt=\"image\"\/><\/p>\n<p>  \u041f\u043b\u0430\u043d\u0438\u0440\u0443\u044f \u0441\u0432\u0430\u0434\u044c\u0431\u0443, \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0443\u0447\u0435\u0441\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u0432: \u0435\u0434\u0430, \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435 \u0438 \u043e\u0431\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430, \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u044b\u0435 \u0441\u0432\u0435\u0442\u0438\u043b\u044c\u043d\u0438\u043a\u0438 (\u0434\u0430, \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043e\u0442 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f), \u0446\u0432\u0435\u0442\u044b, \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0433\u043e\u0441\u0442\u0435\u0439, \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442, \u0440\u0430\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u0438 \u0432\u044b\u0431\u043e\u0440 \u043c\u0435\u0441\u0442\u0430 \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u044f. \u0412\u043e\u043e\u0431\u0449\u0435, \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044f \u0441\u0432\u0430\u0434\u044c\u0431\u0443, \u0432\u044b \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u0442\u0435\u0441\u044c \u0441\u043e \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e\u043c \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445, \u043e\u0434\u043d\u0430\u043a\u043e \u0432 \u043e\u0434\u043d\u043e\u043c \u044f \u0431\u044b\u043b \u0443\u0432\u0435\u0440\u0435\u043d \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430: \u043d\u0438 \u043e\u0434\u043d\u0430 \u0441\u0432\u0430\u0434\u044c\u0431\u0430 \u043d\u0435 \u043e\u0431\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0431\u0435\u0437 \u0446\u0435\u043b\u043e\u0439 \u043a\u0443\u0447\u0438 \u0441\u043f\u0438\u0441\u043a\u043e\u0432, \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u0441\u043f\u0438\u0441\u043a\u043e\u0432, \u043d\u0435 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0434\u043e \u0441\u0430\u043c\u043e\u0433\u043e \u043a\u043e\u043d\u0446\u0430. \u0427\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u043f\u0438\u0441\u043a\u043e\u0432 \u043f\u0440\u043e\u043f\u043b\u044b\u0432\u0430\u043b\u0438 \u043f\u0435\u0440\u0435\u0434 \u043c\u043e\u0438\u043c\u0438 \u0433\u043b\u0430\u0437\u0430\u043c\u0438, \u0442\u0435\u043c \u0447\u0430\u0449\u0435 \u044f \u0441\u0442\u0430\u043b \u0437\u0430\u0434\u0443\u043c\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0438. \u0423\u0436 \u0431\u043e\u043b\u044c\u043d\u043e \u043d\u0435\u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u0438 \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u043b\u0430\u0441\u044c \u0432\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430. \u042f \u0431\u044b\u043b \u0443\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0441\u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u0445\u043e\u0442\u044f \u0431\u044b \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b.<br \/>   <a name=\"habracut\"><\/a><br \/>  \u0412\u044b, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0443\u0434\u0438\u0432\u0438\u0442\u0435\u0441\u044c, \u0443\u0437\u043d\u0430\u0432, \u0447\u0442\u043e \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435 \u043b\u044e\u0434\u0435\u0439 \u043d\u0430 \u0441\u0432\u0430\u0434\u044c\u0431\u0443 \u2014 \u0434\u0435\u043b\u043e \u0434\u043e\u0440\u043e\u0433\u043e\u0435 (\u0431\u043e\u043b\u0435\u0435 380 \u0444\u0443\u043d\u0442\u043e\u0432 \u043d\u0430 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430). \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0438\u0433\u043b\u0430\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441 \u0434\u0430\u0442\u043e\u0439 \u0438 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u043c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435\u043c, \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0442\u043e\u043c \u2014 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0435, \u0441 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u0441\u043e\u0431\u044b\u0442\u0438\u044f. \u0412\u0441\u0435 \u044d\u0442\u043e, \u043a \u0442\u043e\u043c\u0443 \u0436\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e \u043f\u043e\u0447\u0442\u0435, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442, \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e. \u041d\u0435\u043c\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043e\u0442\u043d\u0438\u043c\u0430\u044e\u0442 \u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u00ab\u043f\u043e\u0439\u043c\u0430\u0442\u044c\u00bb \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u043d\u044b\u0445 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u0442 \u043d\u0438\u0445 \u043e\u0442\u0432\u0435\u0442 \u043e \u0442\u043e\u043c, \u0445\u043e\u0442\u044f\u0442 \u043b\u0438 \u043e\u043d\u0438 \u043f\u0440\u0438\u0439\u0442\u0438 \u043d\u0430 \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u043a \u0441 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0439 \u0435\u0434\u043e\u0439 \u0438 \u0432\u044b\u043f\u0438\u0432\u043a\u043e\u0439 (\u0445\u043e\u0442\u044f, \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0431\u044b, \u043a\u0442\u043e \u043d\u0435 \u0445\u043e\u0447\u0435\u0442?!). \u041d\u0443 \u0438, \u043d\u0430\u043a\u043e\u043d\u0435\u0446, \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0430 \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0439 \u043d\u0435 \u044d\u043a\u043e\u043b\u043e\u0433\u0438\u0447\u043d\u0430, \u0432\u0435\u0434\u044c \u0431\u0443\u043c\u0430\u0436\u043d\u044b\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u043a\u0438 \u2014 \u0432\u0435\u0449\u044c \u043e\u0434\u043d\u043e\u0440\u0430\u0437\u043e\u0432\u0430\u044f, \u0431\u044b\u0441\u0442\u0440\u043e \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0438 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043d\u0438\u043a\u043e\u043c\u0443 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e\u0439.<\/p>\n<p>  \u041d\u043e \u0432\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u043a \u0441\u043f\u0438\u0441\u043a\u0430\u043c. \u0413\u043e\u0441\u0442\u0435\u0439 \u043c\u044b \u0434\u0435\u043b\u0438\u043c \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0433\u0440\u0443\u043f\u043f:<\/p>\n<ol>\n<li>\u0422\u0435, \u043a\u043e\u0433\u043e \u0432\u044b \u0445\u043e\u0442\u0435\u043b\u0438 \u0431\u044b \u0432\u0438\u0434\u0435\u0442\u044c \u043d\u0430 \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u043a\u0435<\/li>\n<li>\u0422\u0435, \u043a\u0442\u043e \u043e\u0442\u0432\u0435\u0442\u0438\u043b \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u0435 \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435 \u0441 \u043f\u0440\u043e\u0441\u044c\u0431\u043e\u0439 \u043e\u0442\u0432\u0435\u0442\u0430<\/li>\n<li>\u0422\u0435, \u043a\u0442\u043e \u043f\u0440\u0438\u043d\u044f\u043b \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435<\/li>\n<li>\u0422\u0435, \u043a\u0442\u043e \u043f\u0440\u0438\u043d\u044f\u043b \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435 \u0438 \u0432\u044b\u0431\u0440\u0430\u043b \u0435\u0434\u0443<\/li>\n<\/ol>\n<p>  \u041d\u043e \u0441\u043f\u0438\u0441\u043a\u0438 \u043c\u043d\u0435 \u043d\u0440\u0430\u0432\u044f\u0442\u0441\u044f: \u0443 \u043d\u0438\u0445 \u0435\u0441\u0442\u044c \u043d\u0435\u043a\u0438\u0435 \u043f\u0440\u0435\u0434\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f, \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u044e\u0449\u0438\u0435 \u0438\u0445 \u0432 \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438.<\/p>\n<h3>\u041f\u043e\u0441\u043b\u0430\u043d\u0438\u0435 \u0432 \u0431\u0443\u0442\u044b\u043b\u043a\u0435<\/h3>\n<p>  \u042f \u0431\u044b\u043b \u0443\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u0443 \u0432\u0441\u0435\u0445 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0433\u043e\u0441\u0442\u0435\u0439, \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u0438\u0445 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430, \u0438\u043c\u0435\u043b\u0441\u044f \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d, \u0430 \u044d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u043b\u043e, \u0447\u0442\u043e \u043d\u0430\u0441\u0442\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u044f Twilio. \u041f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u0437\u0434\u0435\u0441\u044c \u043a\u043e\u0434 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u0441\u043c\u0435\u043b\u043e \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u0442\u044c, \u0442\u0430\u043a \u043a\u0430\u043a \u043e\u043d \u0432\u0441\u0435\u0433\u0434\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u043c <a href=\"https:\/\/github.com\/SeekTom\/Twilio\/tree\/master\/Wedication\">\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 GitHub<\/a>.<\/p>\n<p>  <a href=\"https:\/\/www.twilio.com\/docs\/api\/rest\/sending-messages\">SMS<\/a> \u043a\u0430\u043a \u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043a\u0430\u043d\u0430\u043b \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u043b \u043f\u043e\u0434 \u043c\u043e\u0438 \u043d\u0443\u0436\u0434\u044b. \u042f \u043c\u043e\u0433 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043c\u0430\u0441\u0441\u043e\u0432\u0443\u044e \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0443 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439, \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044f \u043e\u0442\u0432\u0435\u0442\u044b. \u0414\u0435\u043b\u0430\u044f \u043f\u0435\u0440\u0432\u044b\u0435 \u0440\u0430\u0431\u043e\u0447\u0438\u0435 \u043d\u0430\u0431\u0440\u043e\u0441\u043a\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 \u0438 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044f \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0411\u0414, \u044f \u043f\u044b\u0442\u0430\u043b\u0441\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u0447\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0435, \u0447\u0435\u043c \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043b\u0435\u0433\u043a\u043e \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0438 \u043d\u0435 \u0445\u043e\u0442\u0435\u043b \u0443\u0434\u0435\u043b\u044f\u0442\u044c \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432\u043d\u0435\u0448\u043d\u0435\u043c\u0443 \u0432\u0438\u0434\u0443. \u0412 \u0438\u0442\u043e\u0433\u0435 \u044f \u043d\u0430\u0442\u043a\u043d\u0443\u043b\u0441\u044f \u043d\u0430 python-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 gspread, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0432\u0448\u0443\u044e \u0447\u0438\u0442\u0430\u0442\u044c \u0438\u0437 <a href=\"https:\/\/www.twilio.com\/blog\/2017\/02\/an-easy-way-to-read-and-write-to-a-google-spreadsheet-in-python.html\">\u0442\u0430\u0431\u043b\u0438\u0446 google<\/a> \u0438 \u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u043d\u0438\u0445. \u042d\u0442\u043e \u0431\u044b\u043b \u043d\u0435 \u0441\u0430\u043c\u044b\u0439 \u0431\u044b\u0441\u0442\u0440\u044b\u0439, \u043d\u043e \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0433\u0438\u0431\u043a\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0438\u0439 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043b\u0435\u0433\u043a\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u043c \u0438 \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b.<\/p>\n<p>  \u0414\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u044f \u044f <a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1Zud0nYlAQw7RywwiDmADf9Cd3bBTsHaUSQYXh_Cl9_w\/edit?usp=sharing\">\u0441\u043e\u0437\u0434\u0430\u043b \u0442\u0430\u0431\u043b\u0438\u0446\u0443<\/a> \u0441 \u0442\u0440\u0435\u043c\u044f \u043a\u043e\u043b\u043e\u043d\u043a\u0430\u043c\u0438:<\/p>\n<ul>\n<li>Name (\u0418\u043c\u044f)<\/li>\n<li>Telephone_number (\u0422\u0435\u043b\u0435\u0444\u043e\u043d\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440)<\/li>\n<li>Confirmation_status (\u0421\u0442\u0430\u0442\u0443\u0441 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f)<\/li>\n<li>Contact detail status (\u0421\u0442\u0430\u0442\u0443\u0441 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445)<\/li>\n<li>Message_count (\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439, \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0433\u043e\u0441\u0442\u044e, \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c)<\/li>\n<\/ul>\n<p>  \u0417\u0430\u0432\u0435\u0440\u0448\u0438\u0432 \u0432\u0432\u043e\u0434 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u044f \u043f\u0440\u043e\u0433\u043d\u0430\u043b \u0441\u043f\u0438\u0441\u043e\u043a \u0447\u0435\u0440\u0435\u0437 <a href=\"http:\/\/gspread.readthedocs.io\/en\/latest\/\">gspread<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b SMS \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0433\u043e\u0441\u0442\u044e-\u043e\u0431\u043b\u0430\u0434\u0430\u0442\u0435\u043b\u044e \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u043d\u043e\u043c\u0435\u0440\u0430:<\/p>\n<pre><code class=\"python\">import json import time import gspread from oauth2client.client import SignedJwtAssertionCredentials from twilio.rest import TwilioRestClient   # \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0433\u043e\u0441\u0442\u044f\u043c \u0438\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b   # \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u0434\u043b\u044f json, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0434\u043b\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u044b json_key = json.load(open('.json')) scope = ['https:\/\/spreadsheets.google.com\/feeds']   credentials = SignedJwtAssertionCredentials(json_key['client_email'],                                             json_key['private_key'].encode(),                                             scope) gc = gspread.authorize(credentials) wks = gc.open(&quot;wedding_guests&quot;)  # \u0437\u0434\u0435\u0441\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u043c\u044f \u0441\u0432\u043e\u0435\u0433\u043e workbook-\u0444\u0430\u0439\u043b\u0430 wks_attendees = wks.get_worksheet(0)  # \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u043c\u0441\u044f \u043a \u0441\u043f\u0438\u0441\u043a\u0443 \u043f\u043e\u0441\u0435\u0442\u0438\u0442\u0435\u043b\u0435\u0439   ACCOUNT_SID = 'TWILIO_ACCOUNT_SID' AUTH_TOKEN = 'TWILIO_AUTH_TOKEN'   client = TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN)   # \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u043c\u0441\u044f \u043f\u043e \u0441\u043f\u0438\u0441\u043a\u0443 \u0433\u043e\u0441\u0442\u0435\u0439, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432\u043d\u0443\u0442\u0440\u0438 range \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u043c \u043d\u0430 \u0441\u0432\u043e\u0438 for num in range(2, 60):     print &quot;sleeping for 2 seconds&quot;     time.sleep(2)  # \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0443 \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u043d\u0435 \u043e\u0442\u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u043b \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f       guest_number = wks_attendees.acell('B'+str(num)).value     guest_name = wks_attendees.acell('A'+str(num)).value     Message_body = &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-k&quot;&gt;u&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\u2B50&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt; &lt;span class=&quot;pl-k&quot;&gt;+&lt;\/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-k&quot;&gt;u&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\u2764&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt; &lt;span class=&quot;pl-k&quot;&gt;+&lt;\/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-k&quot;&gt;u&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\u2B50&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt; &lt;span class=&quot;pl-k&quot;&gt;+&lt;\/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-k&quot;&gt;u&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\u2764&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt; &lt;span class=&quot;pl-k&quot;&gt;+&lt;\/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-k&quot;&gt;u&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\u2B50&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt; &lt;span class=&quot;pl-k&quot;&gt;+&lt;\/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-k&quot;&gt;u&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\u2764&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt; &lt;span class=&quot;pl-k&quot;&gt;+&lt;\/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-k&quot;&gt;u&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\u2B50&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt; &lt;span class=&quot;pl-k&quot;&gt;+&lt;\/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-k&quot;&gt;u&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\u2764&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt; &lt;span class=&quot;pl-k&quot;&gt;+&lt;\/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\n\\n&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt; &lt;span class=&quot;pl-k&quot;&gt;+&lt;\/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-k&quot;&gt;u&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\u2709&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt; &lt;span class=&quot;pl-k&quot;&gt;+&lt;\/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt; Save the date! &lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt;&lt;span class=&quot;pl-k&quot;&gt;+&lt;\/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-k&quot;&gt;u&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\u2709&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt; &lt;span class=&quot;pl-k&quot;&gt;+&lt;\/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\n\\n&lt;\/span&gt;Lauren Pang and Thomas Curtis are delighted to invite you to our wedding.&lt;span class=&quot;pl-cce&quot;&gt;\\n\\n&lt;\/span&gt;Saturday 3rd September 2016. &lt;span class=&quot;pl-cce&quot;&gt;\\n\\n&lt;\/span&gt;Colville Hall,&lt;span class=&quot;pl-cce&quot;&gt;\\n&lt;\/span&gt;Chelmsford Road,&lt;span class=&quot;pl-cce&quot;&gt;\\n&lt;\/span&gt;White Roding,&lt;span class=&quot;pl-cce&quot;&gt;\\n&lt;\/span&gt;CM6 1RQ.&lt;span class=&quot;pl-cce&quot;&gt;\\n\\n&lt;\/span&gt;The Ceremony begins at 2pm.&lt;span class=&quot;pl-cce&quot;&gt;\\n\\n&lt;\/span&gt;More details will follow shortly!&lt;span class=&quot;pl-cce&quot;&gt;\\n\\n&lt;\/span&gt;Please text YES if you are saving the date and can join us or text NO if sadly, you won't be able to be with us.&lt;span class=&quot;pl-cce&quot;&gt;\\n\\n&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-k&quot;&gt;u&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\u2B50&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt; &lt;span class=&quot;pl-k&quot;&gt;+&lt;\/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-k&quot;&gt;u&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\u2764&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt; &lt;span class=&quot;pl-k&quot;&gt;+&lt;\/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-k&quot;&gt;u&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\u2B50&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt; &lt;span class=&quot;pl-k&quot;&gt;+&lt;\/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-k&quot;&gt;u&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\u2764&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt; &lt;span class=&quot;pl-k&quot;&gt;+&lt;\/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-k&quot;&gt;u&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\u2B50&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt; &lt;span class=&quot;pl-k&quot;&gt;+&lt;\/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-k&quot;&gt;u&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\u2764&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt; &lt;span class=&quot;pl-k&quot;&gt;+&lt;\/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-k&quot;&gt;u&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\u2B50&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt; &lt;span class=&quot;pl-k&quot;&gt;+&lt;\/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-k&quot;&gt;u&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;span class=&quot;pl-cce&quot;&gt;\\u2764&lt;\/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;\/span&gt;&lt;\/span&gt;,     if not guest_number:  # \u0433\u043e\u0441\u0442\u0435\u0439 \u0431\u0435\u0437 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u043d\u043e\u043c\u0435\u0440\u0430 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u043c         print guest_name + ' telephone number empty not messaging'         wks_attendees.update_acell('E'+str(num), '0')         else:         print 'Sending message to ' + guest_name         client.messages.create(             to=&quot;+&quot; + guest_number,  # \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c + \u0434\u043b\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f e.164             from_=&quot;&quot;,  # \u0441\u044e\u0434\u0430 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u0432\u043e\u0439 \u043d\u043e\u043c\u0435\u0440 Twillio             body=message_body,         )         wks_attendees.update_acell('E'+str(num), int(wks_attendees.acell('E'+str(num)).value) + 1)  # increment the message count row else:                  # else-\u0447\u0430\u0441\u0442\u044c \u0446\u0438\u043a\u043b\u0430     print 'finished' <\/code><\/pre>\n<p>  \u0418 \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0435 SMS \u043e\u0431\u044b\u0447\u043d\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u0441\u043a\u0443\u0447\u043d\u043e\u0432\u0430\u0442\u043e, \u044f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043d\u0435\u043c\u043d\u043e\u0433\u043e <a href=\"https:\/\/www.twilio.com\/blog\/2015\/08\/common-sms-problems-unicode-twilio.html\">\u044e\u043d\u0438\u043a\u043e\u0434\u0430<\/a>, \u0447\u0442\u043e\u0431\u044b \u0438\u0445 \u043e\u0436\u0438\u0432\u0438\u0442\u044c. \u0412\u043e\u0442 \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u043d\u044b\u0445 \u0441\u0447\u0430\u0441\u0442\u043b\u0438\u0432\u0447\u0438\u043a\u043e\u0432:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/f19\/36c\/7bb\/f1936c7bbccd4cb29115c1fa182321f3.png\" alt=\"image\" width=\"340\"\/><\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u044f \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f Flask \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0441\u0434\u0435\u043b\u0430\u043b \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0439 \u0440\u0435\u043a\u0432\u0435\u0441\u0442 URL \u0434\u043b\u044f Twilio Messaging \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u043b \u043d\u0430 \/messages \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043f\u0440\u043e\u0441\u0442\u044b\u0435 if-\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0434\u043b\u044f \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 \u043e\u0442\u0432\u0435\u0442\u043e\u0432:<\/p>\n<pre><code class=\"python\">@app.route(&quot;\/messages&quot;, methods=['GET', 'POST']) def hello_guest():  \u00a0 \u00a0 if &quot;yes&quot; in body_strip: \u00a0 \u00a0 \u00a0 \u00a0 # \u0418\u0449\u0435\u043c \u0433\u043e\u0441\u0442\u044f \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0435\u0433\u043e confirmation_status \u00a0 \u00a0 \u00a0 \u00a0 wks_attendees.update_acell(&quot;F&quot;+str(guest_confirmation_cell.row), 'Accepted') \u00a0# \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0441\u0442\u0430\u0442\u0443\u0441 \u043d\u0430 \u00ab\u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u043d\u044f\u0442\u043e\u00bb \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0433\u043e\u0441\u0442\u044f \u00a0 \u00a0 \u00a0 \u00a0 resp.message(u&quot;\\u2665&quot; + &quot;Thanks for confirming, we'll be in touch!&quot; + u&quot;\\u2665&quot;) \u00a0# r\u043e\u0442\u0432\u0435\u0447\u0430\u0435\u043c \u0433\u043e\u0441\u0442\u044e, \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0432\u0448\u0435\u043c\u0443 \u0443\u0447\u0430\u0441\u0442\u0438\u0435  \u00a0 \u00a0 elif &quot;no&quot; in from_body.lower(): \u00a0 \u00a0 \u00a0 \u00a0 # \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0441\u0442\u0430\u0442\u0443\u0441 \u043d\u0430 \u00ab\u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435 \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u043e\u00bb \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0433\u043e\u0441\u0442\u044f \u00a0 \u00a0 \u00a0 \u00a0 wks_attendees.update_acell(&quot;F&quot;+str(guest_confirmation_cell.row), 'Declined') \u00a0 \u00a0 \u00a0 \u00a0 # \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u043c \u043e\u0442\u043a\u0430\u0437\u0430\u0432\u0448\u0435\u043c\u0443 \u0433\u043e\u0441\u0442\u044e \u00a0 \u00a0 \u00a0 \u00a0 resp.message(&quot;Sorry to hear that, we still love you though!&quot;)  \u00a0 \u00a0 else: \u00a0# \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u043c \u0442\u0435\u043c, \u043a\u0442\u043e \u0434\u0430\u043b \u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u043e\u0442\u0432\u0435\u0442 \u00a0 \u00a0 \u00a0 \u00a0 resp.message(&quot;You sent a different keyword, we need a yes or a no, you sent: &quot;+   \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0from_body) \u00a0 \u00a0 return str(resp) <\/code><\/pre>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/e4e\/e69\/8e9\/e4ee698e94b448ef9c8d6c3ac112f51d.png\" alt=\"image\" align=\"left\" width=\"340\"\/><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/85b\/422\/750\/85b42275037c4d16af0e6e2de2cffadf.png\" alt=\"image\" width=\"340\"\/><\/p>\n<p>  \u041f\u0435\u0440\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e \u0432 8:37 \u0443\u0442\u0440\u0430 19 \u0444\u0435\u0432\u0440\u0430\u043b\u044f, \u0430 \u043f\u0435\u0440\u0432\u043e\u0435 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043e \u0447\u0443\u0442\u044c \u043f\u043e\u0437\u0436\u0435 \u0432 8:40. \u041a 9:38 \u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0443\u0436\u0435 23 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f, \u0442\u043e \u0435\u0441\u0442\u044c 32% \u043e\u0442\u0432\u0435\u0442\u043e\u0432 \u0431\u044b\u043b\u0438 \u0443 \u043c\u0435\u043d\u044f \u0432 \u043a\u0430\u0440\u043c\u0430\u043d\u0435! \u0427\u0435\u0440\u0435\u0437 2 \u0434\u043d\u044f \u043f\u043e\u0441\u043b\u0435 \u043d\u0430\u0447\u0430\u043b\u0430 \u043c\u0430\u0441\u0441\u043e\u0432\u043e\u0439 \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0438 \u0441\u0432\u043e\u0435 \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u043b\u0438 \u0443\u0436\u0435 58% \u0433\u043e\u0441\u0442\u0435\u0439. \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0439 \u0443\u0441\u043f\u0435\u0445 \u043c\u043e\u044f \u0431\u0443\u0434\u0443\u0449\u0430\u044f \u0436\u0435\u043d\u0430 \u043f\u043e\u043a\u0430 \u0447\u0442\u043e \u043d\u0435 \u0431\u044b\u043b\u0430 \u043d\u0430 \u0432\u0441\u0435 100% \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u0435\u043d\u0430 \u043c\u043e\u0438\u043c SMS-\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c \u0441\u0432\u0430\u0434\u0435\u0431\u043d\u044b\u0445 \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0439, \u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u0435\u0449\u0435 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>  \u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430! \u042f \u043c\u043e\u0433 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0433\u043e\u0441\u0442\u0435\u0439 \u0438 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0435\u0433\u043e \u043f\u043e \u043f\u0435\u0440\u0432\u043e\u043c\u0443 \u0437\u0430\u043f\u0440\u043e\u0441\u0443, \u0434\u0430\u0432\u0430\u044f \u043c\u043e\u0435\u0439 \u0431\u0443\u0434\u0443\u0449\u0435\u0439 \u043d\u0435\u0432\u0435\u0441\u0442\u0435 \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u0443\u044e \u043e\u0431\u0440\u0430\u0442\u043d\u0443\u044e \u0441\u0432\u044f\u0437\u044c. \u041a\u043e\u0434 \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c, \u0442\u0430\u043a \u043a\u0430\u043a \u044f \u0443\u0436\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043b \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0438\u0435 \u0441\u0447\u0435\u0442\u0447\u0438\u043a\u0438 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0438 \u043f\u043e\u0442\u043e\u043c\u0443 \u0432\u0441\u0435 \u0441\u0432\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u043a \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u044f\u0447\u0435\u0435\u043a \u0438 \u0438\u0445 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u0432 SMS:<\/p>\n<pre><code class=\"python\"># \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0433\u043e\u0441\u0442\u0435\u0439 guest_confirmed = wks_attendees.acell('C70').value guest_unconfirmed = wks_attendees.acell('C71').value guest_no_response = wks_attendees.acell('C72').value guest_acceptance = wks_attendees.acell('C73').value   elif &quot;numbers&quot; in from_body.lower(): \u00a0 \u00a0 # \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 (\u043e\u0431\u0449\u0435\u0435 \u043a\u043e\u043b-\u0432\u043e \u0433\u043e\u0441\u0442\u0435\u0439, \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u0431\u043b\u044e\u0434) \u00a0 \u00a0 resp.message(&quot;R.S.V.P update:\\n\\nTotal Accepted: &quot; + guest_confirmed   \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0&quot;\\n\\nTotal declined: &quot;   guest_unconfirmed   &quot;\\n\\nTotal no response: &quot;+   \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0guest_no_response + &quot;\\n\\nTotal acceptance rate: &quot; + guest_acceptance) <\/code><\/pre>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u0439 \u044d\u0442\u0438\u043c \u043a\u043e\u0434\u043e\u043c SMS:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/910\/1cc\/089\/9101cc08985742d58228a005a33271a8.png\" alt=\"image\" width=\"340\"\/><\/p>\n<p>  \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442, \u0431\u044b\u0442\u044c \u043c\u043e\u0436\u0435\u0442, \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043a\u0440\u0430\u0441\u0438\u0432\u043e, \u043d\u043e \u0437\u0430\u0442\u043e \u0432\u0435\u0441\u044c\u043c\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u043e.<\/p>\n<p>  \u0422\u043e\u0442 \u0444\u0430\u043a\u0442, \u0447\u0442\u043e \u041b\u043e\u0440\u0435\u043d \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0433\u043b\u0430 \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0437\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u0441\u043f\u0438\u0441\u043a\u0430 \u0433\u043e\u0441\u0442\u0435\u0439 \u0438\u0437\u0431\u0430\u0432\u0438\u043b \u043d\u0430\u0441 \u043e\u0442 \u043c\u043d\u043e\u0433\u0438\u0445 \u0433\u043e\u043b\u043e\u0432\u043d\u044b\u0445 \u0431\u043e\u043b\u0435\u0439. \u0412 \u0438\u0442\u043e\u0433\u0435 \u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043e\u0442 \u043d\u0435\u0435 \u0434\u043e\u0431\u0440\u043e \u043d\u0430 \u043f\u043e\u0432\u0441\u0435\u043c\u0435\u0441\u0442\u043d\u0443\u044e \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e SMS \u0438 \u0432\u0441\u043a\u043e\u0440\u0435 \u044d\u0442\u043e\u0442 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0435\u0434\u0432\u0430 \u043b\u0438 \u043d\u0435 \u0432\u043e \u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u0445, \u0433\u0434\u0435 \u044d\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0431\u044b\u043b\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e. \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0431\u044b\u043b\u0438 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 SMS-\u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439 \u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0441\u0432\u0430\u0434\u0435\u0431\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430 (\u0441\u0434\u0435\u043b\u0430\u043d\u043d\u043e\u0433\u043e, \u043a \u0441\u043b\u043e\u0432\u0443, \u043d\u0430 <a href=\"https:\/\/www.heroku.com\/\">Heroku<\/a>), \u0438\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u0430\u043c\u0438 \u0441\u0432\u0430\u0434\u0435\u0431\u043d\u044b\u0445 \u043f\u043e\u0434\u0430\u0440\u043a\u043e\u0432 \u0438 \u043c\u043d\u043e\u0433\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u044f \u0433\u043e\u0440\u0436\u0443\u0441\u044c \u0438 \u043f\u043e \u0441\u0435\u0439 \u0434\u0435\u043d\u044c.<\/p>\n<h3>\u0421\u043b\u0430\u0432\u043d\u044b\u0439 \u043f\u0438\u0440<\/h3>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u043f\u0438\u0441\u043a\u0430 \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u043d\u044b\u0445 \u0438 \u0441\u0431\u043e\u0440\u0430 \u043e\u0442\u0432\u0435\u0442\u043e\u0432, \u0434\u0435\u043b\u043e \u0434\u043e\u0448\u043b\u043e \u0434\u043e \u0437\u0430\u043d\u044f\u0442\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043e\u0431\u044b\u0447\u043d\u043e \u043e\u0442\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e\u0442 \u043d\u0430 \u043f\u043e\u0442\u043e\u043c \u2014 \u0432\u044b\u044f\u0441\u043d\u0435\u043d\u0438\u0435 \u0432\u043a\u0443\u0441\u043e\u0432\u044b\u0445 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u0439 \u0433\u043e\u0441\u0442\u0435\u0439. \u041f\u0435\u0440\u0432\u044b\u043c \u0448\u0430\u0433\u043e\u043c \u0431\u044b\u043b\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0435\u0449\u0435 \u043e\u0434\u043d\u043e\u0439 SMS, \u0441\u043e\u043e\u0431\u0449\u0430\u044e\u0449\u0435\u0439 \u0433\u043e\u0441\u0442\u044f\u043c \u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u043e\u0441\u0435\u0442\u0438\u0442\u044c \u0432\u0435\u0431-\u0441\u0430\u0439\u0442 \u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438 \u043f\u043e\u0434\u0430\u0432\u0430\u0435\u043c\u043e\u0439 \u0435\u0434\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e google-\u0444\u043e\u0440\u043c\u044b. \u0412\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u0430 \u0444\u043e\u0440\u043c\u0430 \u0432\u043f\u043e\u043b\u043d\u0435 \u043e\u0431\u044b\u043a\u043d\u043e\u0432\u0435\u043d\u043d\u043e, \u043d\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u043b\u0430 \u0442\u043e\u0442 \u0436\u0435 \u0444\u0430\u0439\u043b, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043d\u0430\u0445\u043e\u0434\u0438\u043b\u0438\u0441\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043e \u043f\u043e\u0441\u0435\u0442\u0438\u0442\u0435\u043b\u044f\u0445. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0442\u0435\u043f\u0435\u0440\u044c \u0443 \u043d\u0430\u0441 \u0431\u044b\u043b\u0430 \u043a\u0430\u043a \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u043f\u0440\u0438\u043d\u044f\u0432\u0448\u0438\u0445 \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u044f \u043f\u043e\u0441\u0435\u0442\u0438\u0442\u0435\u043b\u0435\u0439, \u0442\u0430\u043a \u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0432\u0448\u0438\u0445 \u0444\u043e\u0440\u043c\u0443 \u0432\u044b\u0431\u043e\u0440\u0430 \u0435\u0434\u044b. \u0415\u0441\u043b\u0438 \u0431\u044b \u0440\u0435\u0447\u044c \u0448\u043b\u0430 \u043e \u043a\u0430\u043a\u043e\u043c-\u043d\u0438\u0431\u0443\u0434\u044c \u043e\u0431\u044b\u0447\u043d\u043e\u043c \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438, \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0431\u044b \u0436\u0434\u0430\u0442\u044c, \u043f\u043e\u043a\u0430 \u0433\u043e\u0441\u0442\u0438 \u0431\u0443\u0434\u0443\u0442 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0431\u043b\u044e\u0434\u0430, \u043e\u0434\u043d\u0430\u043a\u043e \u043c\u043e\u044f \u0441\u0432\u0430\u0434\u044c\u0431\u0430 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u043b\u0430 \u043f\u0440\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0435 Twillio, \u0438 \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u044f \u043c\u043e\u0433 \u0434\u043e\u0431\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043e\u0442\u0432\u0435\u0442\u0430 \u043e\u0442 \u0433\u043e\u0441\u0442\u0435\u0439 \u0441 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0443\u0441\u0438\u043b\u0438\u044f\u043c\u0438.<\/p>\n<p>  \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0431\u044b\u043b\u043e \u0441\u0432\u0435\u0440\u044f\u0442\u044c \u0434\u0432\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043f\u043e \u0438\u043c\u0435\u043d\u0438 \u0433\u043e\u0441\u0442\u0435\u0439 \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u0441\u0442\u0430\u0442\u0443\u0441 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u0431\u043b\u044e\u0434 \u043f\u0440\u0438 \u043f\u043e\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0438 \u043d\u043e\u0432\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438. \u042d\u0442\u043e \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043d\u0430\u0432\u043e\u0440\u043e\u0442\u043e\u0432 \u0432 \u043a\u043e\u0434\u0435, \u043d\u043e \u043a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u044f \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b \u0441 \u043d\u0438\u043c\u0438, \u044f \u043c\u043e\u0433 \u043f\u043e \u043f\u0435\u0440\u0432\u043e\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442, \u043f\u043e\u043b\u0443\u0447\u0430\u044f \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 SMS \u0441 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439:<\/p>\n<pre><code class=\"python\">import json import time import gspread from oauth2client.client import SignedJwtAssertionCredentials from twilio.rest import TwilioRestClient  # \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u0434\u043b\u044f json, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0434\u043b\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u044b json_key = json.load(open('')) scope = ['https:\/\/spreadsheets.google.com\/feeds']  credentials = SignedJwtAssertionCredentials(json_key['client_email'], \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 json_key['private_key'].encode(), \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 scope) gc = gspread.authorize(credentials) wks = gc.open(&quot;&quot;) \u00a0# \u0437\u0434\u0435\u0441\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u043c\u044f \u0441\u0432\u043e\u0435\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b wks_attendees = wks.get_worksheet(0) \u00a0# \u0441\u043f\u0438\u0441\u043e\u043a \u0433\u043e\u0441\u0442\u0435\u0439 wks_food = wks.get_worksheet(1) \u00a0# \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u044b\u0431\u043e\u0440\u0430 \u0431\u043b\u044e\u0434  ACCOUNT_SID = 'TWILIO_ACCOUNT_SID' AUTH_TOKEN = 'TWILIO_AUTH_TOKEN'  client = TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN)  # \u041e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u0433\u043e\u0441\u0442\u0435\u0439. \u041a\u043e\u043b-\u0432\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0447\u0442\u043e\u0431\u044b \u043d\u0438\u043a\u043e\u0433\u043e \u043d\u0435 \u0437\u0430\u0431\u044b\u0442\u044c for num in range(2, 60): \u00a0 \u00a0 food_guest_name = wks_food.acell('B'+str(num)).value \u00a0# \u044f\u0447\u0435\u0439\u043a\u0430 \u0438\u0437 \u043a\u043e\u043b\u043e\u043d\u043a\u0430 \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f\u043c\u0438 \u0431\u043b\u044e\u0434  \u00a0 \u00a0 if food_guest_name: \u00a0 \u00a0 \u00a0 \u00a0 attendees_name = wks_attendees.find(val_food_guest_name).value \u00a0 \u00a0 \u00a0 \u00a0 attendees_name_row = wks_attendees.find(val_food_guest_name).row \u00a0 \u00a0 \u00a0 \u00a0 menu_status = wks_attendees.acell(&quot;G&quot;+str(attendees_name_row)).value  \u00a0 \u00a0 \u00a0 \u00a0 if food_guest_name == attendees_name: \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 print \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 if menu_status == 'Y': \u00a0# \u0434\u0430\u043d\u043d\u044b\u0435 \u0443\u0436\u0435 \u0441\u0440\u0430\u0432\u043d\u0438\u043b\u0438, \u0438\u0434\u0435\u043c \u0434\u0430\u043b\u044c\u0448\u0435 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 print('Skipping')  \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 else: \u00a0# \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0441\u0434\u0435\u043b\u0430\u043b \u0441\u0432\u043e\u0439 \u0432\u044b\u0431\u043e\u0440, \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u043e\u0441\u043d\u043e\u0432\u043d\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 print ('Food sheet name ' + food_guest_name + 'Attendees sheet name ' + attendees_name) \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0441\u0442\u0440\u043e\u043a\u0443 \u0432\u044b\u0431\u043e\u0440\u0430 \u043c\u0435\u043d\u044e \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 wks_attendees.update_acell(&quot;G&quot;+str(attendees_name_row), 'Y') \u00a0 \u00a0 \u00a0 \u00a0 else: \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 print('nothing found, moving on') \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 wks_attendees.update_acell('E'+str(num), int(wks.acell('E'+str(num)).value) + 1) \u00a0# \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442 \u0441\u0442\u0440\u043e\u043a\u0438 \u043f\u043e\u0434\u0441\u0447\u0435\u0442\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439  \u00a0 \u00a0 else: \u00a0 \u00a0 \u00a0 \u00a0 # \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0430\u0434\u043c\u0438\u043d\u0443 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u00a0 \u00a0 \u00a0 \u00a0 client.messages.create(from_=&quot;&quot;, \u00a0# \u043d\u043e\u043c\u0435\u0440 Twillio \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0to=&quot;&quot;, \u00a0# \u043d\u043e\u043c\u0435\u0440 \u0430\u0434\u043c\u0438\u043d\u0430 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0body=&quot;Finished processing current meal listnnGuest meals confirmed&quot; + guest_meals_confirmed + &quot;\\n\\nGuest meals unconfirmed: &quot; + guest_meals_unconfirmed) <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c, \u043a\u043e\u0433\u0434\u0430 \u0432 \u043c\u043e\u0435\u043c \u0440\u0430\u0441\u043f\u043e\u0440\u044f\u0436\u0435\u043d\u0438\u0438 \u0431\u044b\u043b \u0442\u043e\u0447\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0433\u043e\u0441\u0442\u0435\u0439 \u0438 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043f\u043e\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0438\u0439\u0441\u044f \u0441\u043f\u0438\u0441\u043e\u043a \u0431\u043b\u044e\u0434, \u0438\u043c\u0435\u043b\u043e \u0441\u043c\u044b\u0441\u043b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u043e\u0431\u0449\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0439 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0433\u043b\u0430\u0432\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u043b\u0438\u0448\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u044f\u0447\u0435\u0435\u043a \u0432 SMS-\u043e\u0442\u0432\u0435\u0442:<\/p>\n<pre><code class=\"python\"># \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0431 \u043e\u0431\u0449\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0435\u0434\u044b \u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \u0431\u043b\u044e\u0434 elif &quot;food&quot; in body_strip.strip():  \u00a0 \u00a0 resp.message(&quot;Guest meals decided:&quot; + guest_meals_confirmed +                   &quot;\\nGuest meals undecided: &quot; + guest_meals_unconfirmed +                  &quot;\\n\\nMenu breakdown:\\n\\n&quot; + starter_option_1 +&quot;: &quot; +                  starter_option_1_amount + &quot;\\n&quot; + starter_option_2 +&quot;: &quot; +                  starter_option_2_amount + &quot;\\n&quot; + starter_option_3 +&quot;: &quot; +                  starter_option_3_amount + &quot;\\n&quot; + main_option_1 +&quot;: &quot; +                  main_option_1_amount + &quot;\\n&quot; + main_option_2 +&quot;: &quot; + main_option_2_amount +                  &quot;\\n&quot; + main_option_3 +&quot;: &quot; + main_option_3_amount + &quot;\\n&quot; +                  dessert_option_1 + &quot;: &quot; + dessert_option_1_amount + &quot;\\n&quot; + dessert_option_2                  + &quot;: &quot; + dessert_option_2_amount) <\/code><\/pre>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/13c\/a50\/9dc\/13ca509dc74a4dcd9401f68f736fa69c.png\" alt=\"image\" width=\"340\"\/><\/p>\n<p>  \u042d\u0442\u0430 \u043c\u0435\u0440\u0430 \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u043b\u0430 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u044e\u0449\u0435\u0439 \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u043a \u0444\u0438\u0440\u043c\u0435 \u0431\u044b\u0442\u044c \u0432 \u043a\u0443\u0440\u0441\u0435 \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0435\u0441\u0441\u0430 \u0438 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u043b\u0430 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u0443\u044e \u0441 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0442\u0435\u0445, \u043a\u0442\u043e \u0435\u0449\u0435 \u043d\u0435 \u0441\u0434\u0435\u043b\u0430\u043b \u0441\u0432\u043e\u0439 \u0432\u044b\u0431\u043e\u0440. \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043f\u0440\u0435\u0442\u0435\u043d\u0434\u0435\u043d\u0442\u043e\u043c \u043d\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044e \u0431\u044b\u043b \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043e\u0442\u0432\u0435\u0442\u043e\u0432 \u043e\u0442 \u0433\u043e\u0441\u0442\u0435\u0439. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0432\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u043e \u0441\u043f\u0438\u0441\u043a\u0443, \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u0432 \u043d\u0435\u043c \u00ab\u043d\u0430\u0440\u0443\u0448\u0438\u0442\u0435\u043b\u0435\u0439\u00bb, \u043d\u0435 \u0432\u044b\u0431\u0440\u0430\u0432\u0448\u0438\u0445 \u0441\u0435\u0431\u0435 \u0431\u043b\u044e\u0434\u0430, \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0438\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f!<\/p>\n<pre><code class=\"python\">for num in range(2, 72): \u00a0# \u0438 \u0441\u043d\u043e\u0432\u0430 \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0447\u0442\u043e\u0431\u044b \u043d\u0438\u043a\u043e\u0433\u043e \u043d\u0435 \u0437\u0430\u0431\u044b\u0442\u044c \u00a0 \u00a0 print &quot;sleeping for 3 seconds&quot;  \u00a0 \u00a0 time.sleep(3) \u00a0# \u043e\u043f\u044f\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430 \u0447\u0442\u043e\u0431\u044b \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u043d\u0435 \u043e\u0442\u0441\u0435\u044f\u043b \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043a\u0430\u043a \u0441\u043f\u0430\u043c \u00a0 \u00a0 wedding_guest_number = wks_attendees.acell('B'+str(num)).value \u00a0# \u0431\u0435\u0440\u0435\u043c \u043d\u043e\u043c\u0435\u0440 \u0433\u043e\u0441\u0442\u044f \u00a0 \u00a0 wedding_guest_name = wks_attendees.acell('A'+str(num)).value \u00a0# \u0431\u0435\u0440\u0435\u043c \u0438\u043c\u044f \u0433\u043e\u0441\u0442\u044f \u00a0 \u00a0 menu_guest = wks_attendees.acell('G'+str(num)).value  \u00a0 \u00a0 if not wedding_guest_number: \u00a0 \u00a0 \u00a0 \u00a0 print wedding_guest_name+' telephone number empty not messaging' \u00a0# \u0432\u044b\u0432\u0435\u0434\u0435\u043c \u043d\u0430 \u043a\u043e\u043d\u0441\u043e\u043b\u044c, \u0447\u0442\u043e \u0443 \u0433\u043e\u0441\u0442\u044f \u043d\u0435\u0442 \u0442\u0435\u043b. \u041d\u043e\u043c\u0435\u0440\u0430 \u0438 \u043c\u044b \u043d\u0435 \u043c\u043e\u0436\u0435\u043c \u0441\u0432\u044f\u0437\u0430\u0442\u044c\u0441\u044f \u0441 \u043d\u0438\u043c \u00a0 \u00a0 \u00a0 \u00a0 wks_attendees.update_acell('H'+str(num), '1') \u00a0# \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442 \u0441\u0442\u0440\u043e\u043a\u0438 \u043f\u043e\u0434\u0441\u0447\u0435\u0442\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u00a0 \u00a0 else: \u00a0 \u00a0 \u00a0 \u00a0 if menu_guest == &quot;N&quot;: \u00a0# \u0433\u043e\u0441\u0442\u044c \u043d\u0435 \u0432\u044b\u0431\u0440\u0430\u043b \u0435\u0434\u0443! \u041d\u0415 \u041e\u0422\u0421\u0422\u0410\u0412\u0410\u0422\u042c \u041e\u0422 \u041d\u0415\u0413\u041e \u0414\u041e \u041f\u041e\u0421\u041b\u0415\u0414\u041d\u0415\u0413\u041e! \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 print 'Sending message to '+wedding_guest_name \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 client.messages.create( \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 to=&quot;+&quot; + wedding_guest_number, \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 from_=&quot;&quot;, \u00a0# \u0432\u0430\u0448 \u043d\u043e\u043c\u0435\u0440 Twillio \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 body=&quot;If you have received this message, you have not chosen your food options for Tom & Lauren's Wedding!\\n\\nYou can pick your choices via the website, no paper or postage required!\\n\\nhttp:\/\/www.yourwebsitehere.com\/food&quot; \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 ) \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 wks_attendees.update_acell('H'+str(num), int(wks_attendees.acell('H'+str(num)).value) + 1) \u00a0# \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442 \u0441\u0442\u0440\u043e\u043a\u0438 \u043f\u043e\u0434\u0441\u0447\u0435\u0442\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f else: \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0# else-\u0447\u0430\u0441\u0442\u044c \u0446\u0438\u043a\u043b\u0430 \u00a0 \u00a0 print 'finished' <\/code><\/pre>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/40a\/1dd\/ed8\/40a1dded8a0b4697b34f7698bbc2917b.png\" alt=\"image\" width=\"340\"\/><\/p>\n<p>  \u0411\u043e\u043b\u044c\u0448\u043e\u0439 \u0434\u0435\u043d\u044c \u0431\u043b\u0438\u0437\u0438\u043b\u0441\u044f \u0431\u044b\u0441\u0442\u0440\u0435\u0435, \u0447\u0435\u043c \u043c\u044b \u043c\u043e\u0433\u043b\u0438 \u0441\u0435\u0431\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c. \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435, \u0447\u0442\u043e \u043d\u0430\u043c \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u2014 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 SMS, \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u044e\u0449\u0435\u0435 \u0433\u043e\u0441\u0442\u044f\u043c \u043e\u0431 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0434\u0435\u0442\u0430\u043b\u044f\u0445 \u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0432\u043e\u043e\u0440\u0443\u0436\u0438\u0442\u044c\u0441\u044f \u0437\u043e\u043d\u0442\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0449\u0438\u0442\u0438\u0442\u044c\u0441\u044f \u043e\u0442 \u0442\u0438\u043f\u0438\u0447\u043d\u043e \u0434\u043e\u0436\u0434\u043b\u0438\u0432\u043e\u0433\u043e \u0431\u0440\u0438\u0442\u0430\u043d\u0441\u043a\u043e\u0433\u043e \u043b\u0435\u0442\u0430:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/752\/007\/52e\/75200752e7b04a8a8c488b8b923567a7.png\" alt=\"image\" width=\"340\"\/><\/p>\n<h3>\u0412 \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 <\/h3>\n<p>  \u041e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u0432\u0430\u0434\u044c\u0431\u044b \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0431\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u044b\u043c. \u0412 \u043b\u044e\u0431\u043e\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0430\u043c \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u0447\u0442\u043e \u043c\u043d\u043e\u0433\u0438\u0435 \u0430\u0441\u043f\u0435\u043a\u0442\u044b \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u044f \u0432\u044b\u0445\u043e\u0434\u044f\u0442 \u0438\u0437-\u043f\u043e\u0434 \u0432\u0430\u0448\u0435\u0433\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f. \u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u043b\u0430 \u043c\u043e\u044e \u0436\u0438\u0437\u043d\u044c \u043f\u0440\u043e\u0449\u0435, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0432 \u043f\u0440\u044f\u043c\u043e\u0439 \u043a\u0430\u043d\u0430\u043b \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0441 \u0433\u043e\u0441\u0442\u044f\u043c\u0438 \u0438 \u0431\u0435\u0441\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0445 \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0437\u0430 \u0438\u0445 \u043e\u0442\u0432\u0435\u0442\u0430\u043c\u0438 \u0438 \u043f\u043e-\u0432\u0441\u044f\u043a\u043e\u043c\u0443 \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0442\u044c \u0438\u043c \u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0438 \u043e\u0442\u0432\u0435\u0442\u0438\u0442\u044c. \u041e\u043d\u0430 \u043f\u043e\u043c\u043e\u0433\u043b\u0430 \u043d\u0430\u043c \u0432\u0437\u044f\u0442\u044c \u0432 \u0441\u0432\u043e\u0438 \u0440\u0443\u043a\u0438 \u043e\u0434\u043d\u043e \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u043d\u0443\u0434\u043d\u044b\u0445 \u0434\u0435\u043b, \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0430\u044e\u0449\u0438\u0445 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u044f, \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u0430 \u043e\u0441\u0432\u043e\u0431\u043e\u0434\u0438\u0442\u044c \u043a\u0443\u0447\u0443 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0438 \u0441\u043e\u0441\u0440\u0435\u0434\u043e\u0442\u043e\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u0430\u0436\u043d\u044b\u0445 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0445 \u0441\u0442\u043e\u043b\u044c \u0432\u0430\u0436\u043d\u043e\u0433\u043e \u0432 \u043d\u0430\u0448\u0435\u0439 \u0436\u0438\u0437\u043d\u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u044f.<\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447 \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0431\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u044b\u043c, \u0438 \u0434\u0430\u0436\u0435 \u043e\u0434\u0438\u043d \u0438\u0437 \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u043c\u043e\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043c\u0435\u0441\u0442\u0430\u043c\u0438 \u0435\u043b\u0435 \u0441\u043f\u0440\u0430\u0432\u043b\u044f\u043b\u0441\u044f \u0441 \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u043c\u0438 \u0437\u0430\u0434\u0430\u0447\u0430\u043c\u0438. \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u044f \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0441 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u043f\u0440\u043e\u0433\u0440\u0435\u0441\u0441\u0430, \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0435\u0439 \u0433\u043e\u043b\u043e\u0441\u0430, \u043c\u0435\u043d\u0435\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0435 \u043e\u0442 CLI-\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432, \u043d\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0434\u0435\u0440\u0436\u0430\u043b\u043e \u0432 \u044d\u0442\u043e\u0439 \u0433\u043e\u043d\u043a\u0435 \u0432\u0435\u0440\u0445. \u0412 \u0446\u0435\u043b\u043e\u043c \u044f \u0434\u043e\u0432\u043e\u043b\u0435\u043d \u0442\u0435\u043c, \u043a\u0430\u043a \u0432\u0441\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c. \u0418\u0434\u0435\u0430\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u043d\u0435 \u0431\u044b\u0432\u0430\u0435\u0442. \u0412\u0441\u0435\u0433\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0439 \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u0438 \u043a\u0430\u043d\u0430\u043b, \u0431\u0443\u0434\u044c \u0442\u043e <a href=\"https:\/\/www.twilio.com\/docs\/api\/rest\/sending-messages\">SMS<\/a>, <a href=\"https:\/\/www.twilio.com\/docs\/api\/rest\/making-calls\">Voice<\/a>, <a href=\"https:\/\/www.twilio.com\/docs\/api\/chat\">Chat<\/a>, <a href=\"https:\/\/www.twilio.com\/docs\/api\/video\">Video<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%A1%D0%B5%D0%BC%D0%B0%D1%84%D0%BE%D1%80_(%D0%B8%D0%BD%D1%84%D0%BE%D1%80%D0%BC%D0%B0%D1%82%D0%B8%D0%BA%D0%B0)\">\u0441\u0435\u043c\u0430\u0444\u043e\u0440<\/a>.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0437\u0430\u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u043e\u0431 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0432\u0430\u0434\u0435\u0431, \u043f\u0438\u0448\u0438\u0442\u0435 \u043c\u043d\u0435 \u0432 <a href=\"https:\/\/twitter.com\/SeekTom\">Twitter<\/a>.<\/p>\n<p>  <a href=\"https:\/\/wirexapp.com\/ru\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/329\/5ba\/c7b\/3295bac7b7fb4687b452049ac5cec9bc.png\" alt=\"image\"\/><\/a><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/geektimes.ru\/post\/287616\/\"> https:\/\/geektimes.ru\/post\/287616\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p><i>\u0410\u0432\u0442\u043e\u0440 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u043a\u0430\u043a \u0435\u043c\u0443 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430\u0432\u044b\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0440\u0443\u0442\u0438\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0441\u0432\u0430\u0434\u0435\u0431\u043d\u043e\u0433\u043e \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u044f.<\/i><\/p>\n<p>  \u0414\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0430 \u043b\u044e\u0434\u0435\u0439 3 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f 2016 \u0431\u044b\u043b\u043e \u0441\u0430\u043c\u043e\u0439 \u043e\u0431\u044b\u0447\u043d\u043e\u0439 \u0441\u0443\u0431\u0431\u043e\u0442\u043e\u0439, \u043d\u043e \u0432 \u043c\u043e\u0435\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u044d\u0442\u0430 \u0434\u0430\u0442\u0430 \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f \u043d\u0430\u0432\u0441\u0435\u0433\u0434\u0430, \u0432\u0435\u0434\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u0432 \u044d\u0442\u043e\u0442 \u0434\u0435\u043d\u044c \u043c\u044b \u0441 \u043c\u043e\u0435\u0439 \u0441\u0443\u043f\u0440\u0443\u0433\u043e\u0439 \u0441\u044b\u0433\u0440\u0430\u043b\u0438 \u0441\u0432\u0430\u0434\u044c\u0431\u0443.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/38f\/a56\/92c\/38fa5692cb0b44e5886d66d912a39b87.jpg\" alt=\"image\"\/><\/p>\n<p>  \u041f\u043b\u0430\u043d\u0438\u0440\u0443\u044f \u0441\u0432\u0430\u0434\u044c\u0431\u0443, \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0443\u0447\u0435\u0441\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u0432: \u0435\u0434\u0430, \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435 \u0438 \u043e\u0431\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430, \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u044b\u0435 \u0441\u0432\u0435\u0442\u0438\u043b\u044c\u043d\u0438\u043a\u0438 (\u0434\u0430, \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043e\u0442 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f), \u0446\u0432\u0435\u0442\u044b, \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0433\u043e\u0441\u0442\u0435\u0439, \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442, \u0440\u0430\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u0438 \u0432\u044b\u0431\u043e\u0440 \u043c\u0435\u0441\u0442\u0430 \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u044f. \u0412\u043e\u043e\u0431\u0449\u0435, \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044f \u0441\u0432\u0430\u0434\u044c\u0431\u0443, \u0432\u044b \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u0442\u0435\u0441\u044c \u0441\u043e \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e\u043c \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445, \u043e\u0434\u043d\u0430\u043a\u043e \u0432 \u043e\u0434\u043d\u043e\u043c \u044f \u0431\u044b\u043b \u0443\u0432\u0435\u0440\u0435\u043d \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430: \u043d\u0438 \u043e\u0434\u043d\u0430 \u0441\u0432\u0430\u0434\u044c\u0431\u0430 \u043d\u0435 \u043e\u0431\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0431\u0435\u0437 \u0446\u0435\u043b\u043e\u0439 \u043a\u0443\u0447\u0438 \u0441\u043f\u0438\u0441\u043a\u043e\u0432, \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u0441\u043f\u0438\u0441\u043a\u043e\u0432, \u043d\u0435 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0434\u043e \u0441\u0430\u043c\u043e\u0433\u043e \u043a\u043e\u043d\u0446\u0430. \u0427\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u043f\u0438\u0441\u043a\u043e\u0432 \u043f\u0440\u043e\u043f\u043b\u044b\u0432\u0430\u043b\u0438 \u043f\u0435\u0440\u0435\u0434 \u043c\u043e\u0438\u043c\u0438 \u0433\u043b\u0430\u0437\u0430\u043c\u0438, \u0442\u0435\u043c \u0447\u0430\u0449\u0435 \u044f \u0441\u0442\u0430\u043b \u0437\u0430\u0434\u0443\u043c\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0438. \u0423\u0436 \u0431\u043e\u043b\u044c\u043d\u043e \u043d\u0435\u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u0438 \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u043b\u0430\u0441\u044c \u0432\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430. \u042f \u0431\u044b\u043b \u0443\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0441\u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u0445\u043e\u0442\u044f \u0431\u044b \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b.   <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-285556","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/285556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=285556"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/285556\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=285556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=285556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=285556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}