If you can update an NC calendar from your API processing, that should cover it in theory. But as long as you can access a service that offers public calendar feeds such as Google Apps, Microsoft Exchange, etc. and can modify such a calendar from your API processing, then you don’t necessarily need to host your own NextCloud instance or similar.
Hi Rob, on iOS this should actually be quite easy to do. Parse the JSON values through shortcuts into a calendar. And with iOS 13’s new triggers you could even do these scheduled I think. (I’m going to try now :-))
You can also use the new JSON parsing options in Keyboard Maestro. (if you have a Mac)
that might indeed be a bit harder.
I have a similar setup for omnifocus tasks that get added to my calendar through a KM macro. I just have that one delete all other entries in the calendar once it runs, and recreate the entries needed. But that might not be what you would want
If I were using shortcuts I would probably use a similar setup.
start action - delete all entries - add new / updated entries.
just tested creating the entries in shortcuts app: changed an existing shortcut by adding “add calendar entry” for each repeat of the JSON parsing sequence, and it added all I needed to my calendar
Thanks for the idea Rob!
I’m going to add a keyboard Maestro macro on my always on mac to clean the calendar out, and add an ssh shell command in the shortcut to trigger that, just need to figure out that workflow. (can also do that via a folder action I think, maybe easier and quicker).