Forum
Fetching a list of installed apps via API
Hi,
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.
Many thanks.
There isn't currently, no.
Ok - thanks for the heads up. I've built the reporting mechanism to be modular so if it ever appears I can add it in.
Cheers Drew!