Access google photos API via Java
I am very new to google API and I am having troubles with it. I red documentation Google photos API for Java , then I created OAuth credentials in google API console and downloaded it (credentials.json file). After that I tried to access google photos. Here is code from documentation: // Set up the Photos Library Client that interacts with the API PhotosLibrarySettings settings = PhotosLibrarySettings.newBuilder() .setCredentialsProvider( FixedCredentialsProvider.create(/* Add credentials here. */)) .build(); try (PhotosLibraryClient photosLibraryClient = PhotosLibraryClient.initialize