Apple Photos and Microsoft imports can be done locally by configuring them to download originals, rather than mucking with their APIs.
I wrote up instructions here: https://photostructure.com/faq/takeout/
(I'm the author of PhotoStructure, btw)