I hope this is the right place to ask this question.
I am new to the MT API and am trying to create a set of scripts to collect some data and also do management of the MT using the API rather than attempting to use telnet to emulate a console.
I have found the numerous versions of the API (PHP, Perl, Python, etc) and have read the wiki on the API. However, I am still not sure how I would do a command such as:
:put [/queue simple get [/queue simple find target-address="10.10.10.251"] total-packets]
In the API.
Would there be a more efficient way to accomplish the same task using the API than the above console command?
I appreciate any help that you can provide as I learn quickly from seeing examples of basics and building on those examples.