github.com/gphotosuploader/google-photos-api-client-go/v2 (go): Package gphotos provides a client for calling the Google Photos API.  Usage:  Construct a new Google Photos client, it needs an authenticated HTTP Client see Authentication section below.  Use WithUploader(), WithAlbumsService(), WithMediaItemsService() to customize it. By default:  It can get Album from the library, returning ErrAlbumNotFound in case it does not exist:  It can upload a new item to your library:  Or upload and adding it to an Album:  The gphotos library does not directly handle authentication. Instead, when creating a new client, pass an http.Client that can handle authentication for you. The easiest and recommended way to do this is using the golang.org/x/oauth2 library, but you can always use any other library that provides an http.Client. Access to the API requires OAuth client credentials from a Google developers project. This project must have the Library API enabled as described in https://developers.google.com/photos/library/guides/get-started.  Note that when using an authenticated Client, all calls made by the client will include the specified OAuth token. Therefore, authenticated clients should almost never be shared between different users. See the oauth2 docs for complete instructions on using that library.  Google Photos API imposes some limitations, please read them all at: https://github.com/gphotosuploader/google-photos-api-client-go/
Keywords: go|golang|google-photos|google-photos-api|google-photos-library-api