Skip to content
Pavel Kuzmin edited this page Aug 10, 2020 · 3 revisions

Onlinesim Ruby API

Wrapper for automatic reception of SMS-messages by onlinesim.ru

Where apikey?

You need to create an account HERE and go to profile to get APIKEY

Installation

You can install or upgrade package with:

$ gem install onlinesim

Example

require 'onlinesim'

# ...

driver = OnlineSim::Driver.new(:apikey => 'TOKEN').numbers
tzid = driver.get('vkcom')
puts driver.stateone(tzid)['number']
puts driver.close(tzid)

Documentation

All documentation is in the wiki of this project - Documentation

Bugs

If you have any problems, please create Issues here https://github.com/s00d/onlinesim-ruby-api/issues

API

GetUser API

GetNumbers API

GetRent API

GetProxy API

GetForward API

GetFree API

Clone this wiki locally