What's the simplest way to make a script that manages calendar and tasks?

  • Nextcloud Server version (e.g., 29.x.x):
    • 32.0.4
  • Operating system and version (e.g., Ubuntu 24.04):
    • Linux 6.6.87.2-microsoft-standard-WSL2 x86_64
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

I have a lot of tasks that I would like to automatically arrange into my calendar and automatically rearrange if they weren’t completed on time.

I would like to be able to write a python (or other) script that I can run that does this on a specific selection of tasks with a series of API calls.

So my main question is: what systems do I need to interface with to make this work?

I’m very new to Nextcloud so I suspect there is a solution out there that I haven’t found. Any help or research direction would be appreciated.