All Projects → nmrshll → google-photos-api-client-go

nmrshll / google-photos-api-client-go

Licence: other
Google photos api client in go

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to google-photos-api-client-go

Ownphotos
Self hosted alternative to Google Photos
Stars: ✭ 2,587 (+7291.43%)
Mutual labels:  photos, google-photos
google-photos-upload
Upload a local image directory into an Album in Google Photos (works on mac/pc/linux). Coded in C# .NET Core 3.0
Stars: ✭ 26 (-25.71%)
Mutual labels:  photos, google-photos
Unsplashkit
Swift client for Unsplash
Stars: ✭ 183 (+422.86%)
Mutual labels:  photos, api-client
photos
"Fx Fotos" is an opensource gallery app in react native with the same smoothness and features of Google Photos and Apple Photos. It is backend gnostic and connects to decentralized backends like "box", "Dfinity", "Filecoin" and "Crust".
Stars: ✭ 620 (+1671.43%)
Mutual labels:  photos, google-photos
ArchiverForGooglePhotos
A tool to maintain an archive/mirror of your Google Photos library for backup purposes.
Stars: ✭ 104 (+197.14%)
Mutual labels:  photos, google-photos
jiotty-photos-uploader
Uploads your media files to Google Photos creating albums based on the directory structure
Stars: ✭ 54 (+54.29%)
Mutual labels:  photos, google-photos
timeline
Timeline - A photo organizer
Stars: ✭ 39 (+11.43%)
Mutual labels:  photos, google-photos
google-photos-vue
Google Photos album viewer built with Vue.js
Stars: ✭ 17 (-51.43%)
Mutual labels:  photos, google-photos
chess.com
Python wrapper for Chess.com Published-Data API
Stars: ✭ 34 (-2.86%)
Mutual labels:  api-client
deepl-api-connector
Connector library for deepl.com rest translation api
Stars: ✭ 12 (-65.71%)
Mutual labels:  api-client
upcloud-php-api
PHP client for UpCloud's API
Stars: ✭ 23 (-34.29%)
Mutual labels:  api-client
flickr to google photos migration
A tool for migrating your photo library from Flickr to Google Photos
Stars: ✭ 39 (+11.43%)
Mutual labels:  google-photos
jusibe
📲 JavaScript client for Jusibe.com SMS API service. http://jusibe.com
Stars: ✭ 24 (-31.43%)
Mutual labels:  api-client
sbankenclient-ios
A small but enjoyable iOS framework to connect to the Sbanken API
Stars: ✭ 21 (-40%)
Mutual labels:  api-client
pycloud
A Python implementation of the pCloud API
Stars: ✭ 54 (+54.29%)
Mutual labels:  api-client
servicenow
A golang client for ServiceNow
Stars: ✭ 16 (-54.29%)
Mutual labels:  api-client
fb-messenger-bot-api
NodeJS Facebook Messenger API for bots to send messages and setup events to Facebook.
Stars: ✭ 29 (-17.14%)
Mutual labels:  api-client
notion-sdk-net
A Notion SDK for .Net
Stars: ✭ 71 (+102.86%)
Mutual labels:  api-client
ninja automator
Acquire data with honour and wisdom — using the way of the ninja.
Stars: ✭ 21 (-40%)
Mutual labels:  api-client
psd2
API client for banks supporting PSD2 APIs with OAuth2 authentication.
Stars: ✭ 26 (-25.71%)
Mutual labels:  api-client

Go Report Card

Google photos API client (Go library)

The official google photos client doesn't have upload functionality, this repo aims to complete it with upload functionality and improve ease of use for classic use cases.

It contains three packages, github.com/nmrshll/google-photos-api-client-go/lib-gphotos simply wraps the official library to offer the same functionality plus upload, the two other packages try to make it easier to use in classic cases:

Quick start

Download using go get github.com/nmrshll/google-photos-api-client-go

Then use this way:

In a CLI tool or desktop/mobile app (when your app is fully client-side and doesn't have its own server-side part):

func main() {
	// ask the user to authenticate on google in the browser
	photosClient, err := gphotosclient.NewClient(
		gphotosclient.AuthenticateUser(
			gphotoslib.NewOAuthConfig(gphotoslib.APIAppCredentials{
				ClientID:     "________________",
				ClientSecret: "____________________"},
			),
		),
	)
	if err != nil {
		log.Fatal(err)
	}

	_, err = photosClient.UploadFile("/path/to/file")
	if err != nil {
		log.Fatal(err)
	}
}

on the server side:

func main() {
	fmt.Println("Hello world !")
}

More Examples

server-side:

no server, all client side (desktop,cli,mobile,...):

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].