UGet API Tool

Post Reply
Site Admin
Posts: 3617
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland

UGet API Tool

Post by Masher »

UGet is a simple tool that allows you to use the Panel's API from a bat/cmd file or with Window's Task Scheduler.

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>

<url> = the base url to your control panel.  i.e.
<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.
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
Post Reply