Skip to content

yaghmr/ruby-omegle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ruby-omegle is a library for interacting with omegle.com.

Example:

require 'omegle'

Omegle.start(:host => 'cardassia.omegle.com') do |omegle|
  omegle.typing
  omegle.send 'hello stranger'
  omegle.stopped_typing

  omegle.listen do |event|
    puts event.inspect
  end
end

# or like this

omegle = Omegle.new :host => 'omegle.com'
omegle.typing
omegle.send 'hello stranger'
omegle.stopped_typing

omegle.listen do |event|
  puts event.inspect
end

omegle.disconnect

About

A Ruby library to interface with omegle.com.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages