scottchiefbaker / MikroTik-API

API to MikroTik RouterOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MikroTik-API

API to MikroTik RouterOS

See http://search.cpan.org/~martingo/MikroTik-API/ for documentation

Quickstart

use MikroTik::API;
my $api = MikroTik::API->new({
	host => 'mikrotik.example.org',
	username => 'whoami',
	password => 'SECRET',
});
my ( $ret_get_identity, @aoh_identity ) = $api->query( '/system/identity/print', {}, {} );
print "Name of router: $aoh_identity[0]->{name}\n";

About

API to MikroTik RouterOS

License:MIT License


Languages

Language:Perl 100.0%