Google Photo API client
A simple client for receiving photos and albums via API Google Photos.
Photos received from Google Api are cached in the database (bolt db by default).
The cache is updated as needed.
import "github.com/ihippik/gphoto"
refreshToken := "REFRESH_TOKEN"
clientID := "CLIENT_ID"
clientSecret := "CLIENT_SECRET"
client,err := gphoto.NewGoogleClient(clientID, clientSecret, refreshToken)
albums, err := client.GetAlbumList()
photos, err:= client.GetPhotoByAlbum(albumID)