Api Java

Hi everyone,
does anyone have an example to connect to the Java language using Mikrotik?

The example is the wiki I could not implement. Getting the following doubts:

this import is from where?

 
import api.*;

and this class here I too, of where it is?

 
T3apiView t3A = null;

I will try to implement an interaction web part that accesses the Web proxy Mikrotik. And the language I chose was java. If someone can help me thank you.
:smiley:

I know this thread is probably dead but in case anyone else stumbles upon it here is what I found.

T3apiView t3A = null;

T3apiView is probably a class that the author of the Mikrotik Java API doc wrote and did not include since it was probably pulled out of a project they were working on. Replace T3apiView with the class name of the source code you are working on.

import api.*;

If you are using the code in the wiki it should be:

import libAPI.*;

That will import all the classes in the libAPI package.
ApiConn, Hasher, ReadCommand, and WriteCommand.

Hopefully this helps someone as I was confused for a while.