To use this APP, you can follow this tutorial on this link: https://developers.google.com/photos/library/guides/get-started
After registering your API and getting your credentials file, put it on the root folder with the "credentials.json" name.
That's it, if you have any questions, feel free to contact me 😊