Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Check user status in the instant messengers
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
README.md
Rakefile
imstat.gemspec

README.md

Imstat

Ruby lib for checking user status in the instant messengers

Getting it

gem install imstat

Using it

Getting Skype status

If you want to use Skype status you must be sure about support this feature in the skype profile (go to Tools->Options->Privacy->Allow my online status to be shown on the web)

Output
  • "Online"
  • "Offline"
Example
Imstat::get_user_status(:messenger => :skype, :user => "echo") # => "Offline"

Getting ICQ status

Output
  • "Online"
  • "Offline"
  • "N/A"
  • "It's not a valid icq uin"
Example
Imstat::get_user_status(:messenger => :icq, :user => "123456") # => "N/A"

Getting Yahoo status

Output
  • "Online"
  • "Offline"
Example
Imstat::get_user_status(:messenger => :yahoo, :user => "cdfdsdfgsd") # => "Offline"
Something went wrong with that request. Please try again.