Claude made a PHP script for me that did API to Google Photos and pulls them all to my archive location.
I struggled with Immich, I didn't like the rclone option. I'm intending to go back to Immich but my first priority was to get the stuff out of Google. That's done, so with all my free time (ha!) I can get the family Immich going.
Nice. The PHP script could also write metadata back into the photo so it gets extracted by Immich on import. Just an additional prompt :)