Get published version path from version data

It uses some functions from ayon-core.

I’m not sure how to/if it possible to run standalone python scripts that can imports ayon_api and ayon_core.

This topic came before here Turning VS Code into an Ayon script editor