Install Script: file url in json file from another url

Hi all, my first post here.

I was just getting myself into the install script editing for the first time and I was wondering if it is possible to get an install file from an url which is inside a json that can be found in a specific url.

The game is Magic The Gathering Arena and It has the latest version on https://mtgarena.downloads.wizards.com/Live/Windows32/version and then the actual file url is inside the json file.

Do you guys knows it the installer scripts support this?
Thanks!!