Interact with other Apps


what is the preferred way to interact with other apps, e.g. Group Folders or Talk? Is it possible to call the apps (OCS-)API from a custom nextcloud service without credentials or have i to use an apppassword even if i am inside nextcloud ?

Can i import the proper classes to call some functions in these apps instead of using the API ?



okay, found something interesting, is this the right approach ? Dependency injection — Nextcloud latest Developer Manual latest documentation