Project

skyper

0.01
No commit activity in last 3 years
No release in over 3 years
Ruby interface to Skype on Mac OS X
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.3.0
 Project Readme

Skyper

A ruby gem, implementing Skype public API. https://developer.skype.com/public-api-reference

Currently works only on MacOS X, using AppleScript to connect to Skype. Inspired by rb-skypemac.

Installation

Add this line to your application's Gemfile:

gem 'skyper'

And then execute:

$ bundle

Or install it yourself as:

$ gem install skyper

Usage

I need help writing documentation for this library

###Send a message to the most recent chat:

# Get latest active chat
chat = Skyper::Chat.recent_chats.first
# Send a message to this chat
message = chat.chat_message("Hello there")
# message is a Message object.
message.body
=> "Hello there"
message.body = "Bye"
=> "Bye"

###Send a message to the given user: chat = Skyper::Chat.create(skype_id) chat.chat_message "hello"

###Send sms:

sms = Skyper::SMS.create("+3809901234567") # => "SMS 354924 STATUS COMPOSING"
sms.body = "Hello from Skype" # => "Hello from Skype"
sms.send_sms

Platforms support

It currently support MacOS X 10.6 - 10.8 as a platform. I don't currently have Linux box available to implement DBus (Linux/FreeBSD) support.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request