Fetching a list of installed apps via API
I'm looking into developing a custom app that reports site and hosting data in a scheduled task to help us keep track of the growing list of Perch sites we now manage.
Is there an API friendly way of pulling in the installed apps and their version numbers within a scheduled task? From looking myself I don't think there is currently a clean way as this relies on there being an authenticated user to determine visibility and access when using:
$Perch = PerchAdmin::fetch(); $Perch->get_apps();
Plus, this is not the most API safe way of going about this...
It's not an essential part of the app, it would just be nice to get this information into an automated system.