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.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install skyper
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"
sms = Skyper::SMS.create("+3809901234567") # => "SMS 354924 STATUS COMPOSING" sms.body = "Hello from Skype" # => "Hello from Skype" sms.send_sms
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.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request