mirror of
https://github.com/socialwifi/RouterOS-api.git
synced 2025-08-30 22:59:55 +02:00
Add info for executing commands
parent
b80444de0f
commit
658a036112
1 changed files with 5 additions and 1 deletions
|
@ -6,7 +6,11 @@
|
|||
`connection = routeros_api.RouterOsApiPool('IP', username='admin', password='')`
|
||||
`api = connection.get_api()`
|
||||
|
||||
## Command
|
||||
## Execute Commands Example:
|
||||
`api.get_binary_resource('/').call('tool/fetch',{ 'url': "https://dummy.url" })`
|
||||
|
||||
|
||||
## Fetch List/Resource
|
||||
`list = api.get_resource('/command') `
|
||||
|
||||
### Example
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue