Uget (uget.exe) is in the tools folder of the manual install package, and the tools folder of an EzUGCC install.
More information for the panel's API is available at: viewtopic.php?f=21&t=244
Linux users may use it as well, just run it as mono uget.exe <cmd options>.
Code: Select all
Commandline syntax:
uget.exe <url> <username> <password> <id> <command>
Where
<url> = the base url to your control panel. i.e. https://demo.brainless.us
<username> = panel username
<password> = panel password
<id> = ID of the item (could be user/server/extra ID) the command should be ran against
<command> = the API Command (see API URL above for commands)
uget will return a non zero number if there is an error.
Return Codes:
0 = OK
1 = Missing commandline arguments
2 = Panel is offline or invalid username/password
3 = The panel returned an error when executing the API command.