When working with the Internal API it would be really nice if WHMCS would automatically set the adminuser by default to either:
System: when the API call is coming from an automated hook (like cron or automatic module provisioning)
The currently logged in admin: when it's triggered by a logged in admin
This way the adminuser value is only required to be set when the dev wishes to specifically override it.
I'd love to be able to more easily use Internal API code within my modules, but it's fairly annoying to ask the module user to supply an admin user in the module's settings, then load the setting into the API call.... especially when it doesn't seem like it should be all that necessary.