Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Photos .NET API

Getting started

Get an instance

// accessToken is the OAuth Bearer token provided by google Oauth
using var googlePhotos = new GooglePhotos(accessToken)

Create a new album

string albumId = await googlePhotos.CreateNewAlbum(albumName);

Upload picture

string mediaId = await googlePhotos.UploadMedia(png, albumId);

Get picture

dynamic mediaObject = await googlePhotos.GetMediaItem(mediaItem);
return mediaObject.baseUrl;

About

Google Photo .NET Core API

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages