Accesing calendar from third party script

I am currently working on a third party script in python to copy and use calendars from clients on our Nextcloud server. I came to a problem, because of subscribed calendars. CalDAV extension doesn’t have access to them. Is there a way how to access them and If yes what is the most efficient way of doing that.

Thank you for your ideas

Hey, did you find a solution?

I don’t think Nextcloud stores anything else than the link to a calendarsubsription.

You could use the script calcardbackup to export the link to subscribed calendars (it’s gonna be saved as a file with filename extension .webcal) and then access directly the original source of the subscribed calendars.