Mit PHP Aufgaben aus Nextcloud importieren in Nextcloud-App?
Hi, ich schreibe grad eine Nextcloud-App, welche die Aufgaben aus Tasks importieren soll. Ich habe lange recherchiert, aber nichts gefunden, auch bei KI erfolglos.
Also, nochmal kurz: Ich möchte über PHP in einer Nextcloud-App auf die Aufgabenlisten aus Tasks zugreifen.
Danke im Voraus.
P.S.: Ich nutze die Nextcloud-Version 31.0.4, falls das bedeutsam ist.
1 Antwort
Einer der Maintainer von Nextcloud Tasks hat dazu Folgendes geschrieben (auf die Frage nach einer API zum Zugriff auf Tasks):
No, there is no such API available. And I think it doesn't really make sense to create one either. Tasks is a CalDAV client for the Nextcloud server and there are various todo apps with CalDAV support available for Android as well.
If you really want to create your own app, you will have to directly communicate with the CalDAV server in Nextcloud.
Die Lösung dürfte also meiner kurzen Recherche nach sein, das CalDAV-Protokoll zu nutzen, um aus deiner App auf die Tasks zuzugreifen.
Woher ich das weiß:Recherche
Ja, habe ich auch gedacht. Aber ich hatte Probleme es zu verwenden...