{"id":261882,"date":"2015-07-20T16:41:02","date_gmt":"2015-07-20T12:41:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=261882"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=261882","title":{"rendered":"Skype \u043f\u043e\u0432\u0435\u0440\u043d\u0443\u043b\u0441\u044f \u043b\u0438\u0446\u043e\u043c \u043a \u043b\u044e\u0434\u044f\u043c?"},"content":{"rendered":"<p>     \t<img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/958\/773\/fd4\/958773fd4c674318937cdc445708e1e7.jpg\" align=\"right\"\/>\u041d\u0435 \u0441\u0442\u043e\u043b\u044c \u0434\u0430\u0432\u043d\u043e Skype \u043e\u0442\u043a\u0440\u044b\u043b \u0434\u043b\u044f \u0432\u0441\u0435\u0445 <a href=\"https:\/\/web.skype.com\">Skype for Web (beta)<\/a><\/p>\n<p>  \u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e API (\u043f\u043e\u043a\u0430) \u043d\u0435 \u043e\u0433\u043b\u0430\u0448\u0435\u043d\u043e, \u0438, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0431\u0443\u0434\u0435\u0442 \u0435\u0449\u0435 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f. <\/p>\n<p>  \u041d\u043e! \u041c\u043e\u0436\u043d\u043e \u0437\u0430\u0431\u044b\u0442\u044c \u043c\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u043e Skype4Com, \u043f\u043b\u044f\u0441\u043a\u0438 \u0441\u043e Skype4Py, \u043f\u043e\u043f\u0440\u043e\u0449\u0430\u0442\u044c\u0441\u044f \u0441\u043e skype-open-source, \u0432\u044b\u043a\u0438\u043d\u0443\u0442\u044c \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443 \u0447\u0442\u0435\u043d\u0438\u0435 SQLite&#8217;\u043e\u043c \u0438\u0437 \u043f\u0440\u043e\u0444\u0438\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u0442.\u043f. <\/p>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u041f\u043e\u043f\u0430\u0432\u0448\u0438\u0435\u0441\u044f \u043f\u043e\u0434 \u0440\u0443\u043a\u0443 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438:  <\/p>\n<ul>\n<li>C++: <a href=\"http:\/\/trac.miranda-ng.org\/browser\/trunk\/protocols\/SkypeWeb?rev=14551&amp;order=name\">\u043f\u043b\u0430\u0433\u0438\u043d \u0434\u043b\u044f Miranda NG<\/a><\/li>\n<li>Java: <a href=\"https:\/\/github.com\/samczsun\/Skype4J\">Skype4J<\/a><\/li>\n<li>.NET: (\u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b \u0441\u0435\u0431\u0435 \u0441\u043e\u0431\u0440\u0430\u0442\u044c IKVM&#8217;\u043e\u043c \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u043f\u0443\u043d\u043a\u0442) <a href=\"https:\/\/cloud.mail.ru\/public\/Mmot\/FrZpfp7Kj\">.NET \u0432\u0430\u0440\u0438\u0430\u043d\u0442 <\/a><br \/> \n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0413\u0440\u044f\u0437\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>static void Main(string[] args)         {             string username = &quot;user&quot;;             string password = &quot;password&quot;;              SkypeImpl v = new SkypeImpl(username, password);             v.login();             var dispatcherv = v.getEventDispatcher();             dispatcherv.registerListener(new Lis());             v.subscribe();             while (true)             {             }             v.logout();         }          public class Lis : Listener         {             [EventHandler]             public void OnMessage(MessageReceivedEvent e)             {                 var msg = e.getMessage();                 var from = msg.getSender();                 var txt = msg.getMessage();                  var chat = msg.getChat();                 string cap = &quot;&quot;;                 var ndividualChat = chat as IndividualChat;                 if (ndividualChat != null) cap = ndividualChat.getPartner().getUsername();                  var groupChat = chat as GroupChat;                 if (groupChat != null)                 {                     cap = groupChat.getTopic();                     if (string.IsNullOrEmpty(cap)) cap = &quot;...list of users here&quot;;                 }                  Console.WriteLine(&quot;From: {0} To:{1} Text:{2}&quot;, from.getUsername(), cap, txt);             }          } <\/code><\/pre>\n<\/div>\n<\/div>\n<\/li>\n<\/ul>\n<p>  \u0412 \u043e\u0431\u0449\u0435\u043c, \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0441\u0442\u0430\u0432\u0430\u0442\u044c \u0438\u0437 \u0430\u0440\u0445\u0438\u0432\u043e\u0432 \u0438 \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u044b\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0441\u0442\u0430\u0440\u044b\u0435 WeatherBot, MailCheckerBot, ViktorinaBot \u0438 \u043f\u0440\u043e\u0447\u0430\u044f-\u043f\u0440\u043e\u0447\u0430\u044f.<\/p>\n<p>  <i>Just FYI, \u043a\u0430\u043a-\u0442\u043e \u043d\u0435 \u043d\u0430\u0448\u0435\u043b \u043d\u0430 \u0445\u0430\u0431\u0440\u0435.<\/i>     \t<\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/263099\/\"> http:\/\/habrahabr.ru\/post\/263099\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>     \t<img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/958\/773\/fd4\/958773fd4c674318937cdc445708e1e7.jpg\" align=\"right\"\/>\u041d\u0435 \u0441\u0442\u043e\u043b\u044c \u0434\u0430\u0432\u043d\u043e Skype \u043e\u0442\u043a\u0440\u044b\u043b \u0434\u043b\u044f \u0432\u0441\u0435\u0445 <a href=\"https:\/\/web.skype.com\">Skype for Web (beta)<\/a><\/p>\n<p>  \u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e API (\u043f\u043e\u043a\u0430) \u043d\u0435 \u043e\u0433\u043b\u0430\u0448\u0435\u043d\u043e, \u0438, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0431\u0443\u0434\u0435\u0442 \u0435\u0449\u0435 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f. <\/p>\n<p>  \u041d\u043e! \u041c\u043e\u0436\u043d\u043e \u0437\u0430\u0431\u044b\u0442\u044c \u043c\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u043e Skype4Com, \u043f\u043b\u044f\u0441\u043a\u0438 \u0441\u043e Skype4Py, \u043f\u043e\u043f\u0440\u043e\u0449\u0430\u0442\u044c\u0441\u044f \u0441\u043e skype-open-source, \u0432\u044b\u043a\u0438\u043d\u0443\u0442\u044c \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443 \u0447\u0442\u0435\u043d\u0438\u0435 SQLite&#8217;\u043e\u043c \u0438\u0437 \u043f\u0440\u043e\u0444\u0438\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u0442.\u043f. <\/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-261882","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/261882","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=261882"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/261882\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=261882"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=261882"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=261882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}