Hey. So I’m currently building a third party service outside of WordPress. And part of the service allows users to manage their themes/plugins. A crucial feature is allowing the user to install theme/plugins without having to login to their WordPress dashboard. For this to work, I need access to some type of API which can give me access to all the theme/plugins. As a last resort, I can build some type of scraper for this, but hopefully someone can recommend me an alternative. Ideally an API.
Yes there is, looking at this function might give you an idea on how to use it: https://developer.wordpress.org/reference/functions/plugins_api/