Skip to content


Subversion checkout URL

You can clone with
Download ZIP
An interface to the MikroTik RouterOS API (via TCP) in Ruby
branch: master

Version 3.0.3 log entry added

latest commit 103aa140df
Aaron D. Gifford authored
Failed to load latest commit information.
bin Mostly cosmetic changes. See CHANGELOG.txt for details. Minor version…
examples Cosmetic mod to json script, added fetch example (not really useful, …
lib Oops, imported new feature with a new bug--corrected.
.gitignore Mostly cosmetic changes. See CHANGELOG.txt for details. Minor version…
README.txt README cosmetic change example to use version 4.0.0
VERSION.txt Version bump for fetch() feature change


= MTik -- A Ruby implementation of the MikroTik RouterOS API

The MTik gem implements the MikroTik RouterOS API for connecting to
devices running RouterOS (with the API enabled) over the network.

== Examples

Included in the examples subdirectory are four example ruby scripts
that use the Ruby API implementation:

tikcli.rb::     A command-line-like API interface
tikcommand.rb:: A tool for executing a single API command from
                a unix command-line
tikfetch.rb::   A tool for instructing devices to download files
                from specified URLs (unix command-line tool)
tikjson.rb::    Like 'command.rb' a tool for executing a single
                API command, except the output is formatted  in

== Download

The latest version of MTik can be found at


Ruby RDoc documentation can be found online at


Additional documentation is available at


Source code is available on GitHub:


For documentation on the MikroTik RouterOS APi, see


== Installation

To install MTik is through its GEM file:

  % [sudo] gem install mtik-4.0.0.gem

== License

This gem and all other scripts and documentation files are licensed
under a BSD-style license.  (See the LICENSE.txt file.)

== Report Bugs

Bugs/issues may also be reported via GitHub:


ALSO, please send the author a note regarding the issue by clicking on the
"Contact Me" link in the left-hand menu of the author's web site.
The direct URL is:


Thank you!

-- Aaron D. Gifford

Something went wrong with that request. Please try again.