{"id":13858606,"url":"https://github.com/shokai/skype-ruby","last_synced_at":"2025-04-09T04:33:48.888Z","repository":{"id":9041158,"uuid":"10804051","full_name":"shokai/skype-ruby","owner":"shokai","description":"Deprecated. MS removed API","archived":false,"fork":false,"pushed_at":"2016-04-23T08:51:13.000Z","size":528,"stargazers_count":60,"open_issues_count":6,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-14T03:04:20.380Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://rubygems.org/gems/skype","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shokai.png","metadata":{"files":{"readme":"README.md","changelog":"History.txt","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-19T19:15:41.000Z","updated_at":"2024-01-27T13:00:34.000Z","dependencies_parsed_at":"2022-09-13T07:01:12.516Z","dependency_job_id":null,"html_url":"https://github.com/shokai/skype-ruby","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shokai%2Fskype-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shokai%2Fskype-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shokai%2Fskype-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shokai%2Fskype-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shokai","download_url":"https://codeload.github.com/shokai/skype-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980833,"owners_count":21027803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-05T03:02:14.837Z","updated_at":"2025-04-09T04:33:48.328Z","avatar_url":"https://github.com/shokai.png","language":"Ruby","readme":"Skype\n=====\n[Skype Desktop API](http://dev.skype.com/desktop-api-reference) Ruby wrapper for Mac/Linux.\n\n- https://github.com/shokai/skype-ruby\n- http://rubygems.org/gems/skype\n\n\nPlatforms\n---------\n- AppleScript + Mac OSX\n- DBus + Linux (testing on Ubuntu 12.04)\n\n\nInstallation\n------------\n\nfor Mac\n\n    % gem install skype\n    % skype-chat\n\nfor Linux\n\n    % gem install skype ruby-dbus\n    % skype-chat\n\nGemfile\n```ruby\ngem \"skype\"\ngem \"ruby-dbus\" if RUBY_PLATFORM =~ /linux/i\n```\n\nUsage\n-----\nplease read [API Reference](http://dev.skype.com/desktop-api-reference) before use.\n\n### load\n```ruby\nrequire 'rubygems'\nrequire 'skype'\n\nSkype.config :app_name =\u003e \"my_skype_app\"\n```\n\n### Skype API\n\nsend message\n```ruby\nSkype.message \"USER_NAME\", \"hello!!\"\nSkype.exec \"MESSAGE USER_NAME hello!!\"  # execute API directly\n```\n\ncall\n```ruby\nSkype.call \"USER_NAME\"\nSkype.exec \"CALL USER_NAME\"\n```\n\nvideo call\n```ruby\nSkype.exec \"VIDEOCALL USER_NAME\"\n```\n\n### Chat API\n\nfind a chat\n```ruby\nchat = Skype.chats.find{|c| c.members.include? \"shokaishokai\" and c.topic =~ /testchat/ }\n```\n\npost message to the chat\n```ruby\nchat.post \"hello chat!!\"\n```\n\nshow chat messages\n```ruby\nchat.messages.each do |m|\n  puts m\nend\n```\n\n### Call API\n\ncall\n```ruby\ncall = Skype.call \"shokaishokai\"\n```\n\ncheck status\n```ruby\nputs call.status   # =\u003e :routing, :ringing, :inprogress, :finished, :missed, :cancelled\nputs call.talking? # =\u003e true, false\n```\n\nhangup\n```ruby\ncall.hangup\n```\n\nSamples\n-------\n- https://github.com/shokai/skype-ruby/tree/master/samples\n- https://github.com/shokai/skype-ruby/tree/master/bin\n\n\nTest\n----\ntest requires 2 skype accounts.\n\n    % gem install bundler\n    % bundle install\n    % export SKYPE_FROM=your_skype_name1\n    % export SKYPE_TO=your_skype_name2\n    % rake test\n\n\nContributing\n------------\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshokai%2Fskype-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshokai%2Fskype-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshokai%2Fskype-ruby/lists"}