Dynamically discover where nextcloud desktop client stores the sync folder

I am looking to have my emacs config automatically discover the location where I am storing my nextcloud sync folder on the machine I am currently working on.

With dropbox settings are stored in an ini file in a easily discoverable location and I can suck those up, discover the sync path and just use it.

I am looking around to attempt to discover how the nextcloud client stores these settings primarily on windows but on multiple platforms if known to the community so I can do something similar and avoid the need to keep my folder structure identical on each machine.

If anyone knows and could point me in the right direction that would be very handy.
I find keeping my folder in an identical location on my various machines somewhat cumbersome and this would save me a bunch of time.