dcsimg
Results 1 to 4 of 4

Thread: [RESOLVED] Google Photo API

  1. #1

    Thread Starter
    Frenzied Member KGComputers's Avatar
    Join Date
    Dec 2005
    Location
    Cebu, PH
    Posts
    1,926

    Resolved [RESOLVED] Google Photo API

    Hello all,

    I've been given a task to do some research on fetching photos from Google (Google Photos). I did some investigation and made some Proof of concepts but unsuccessful due to the following details below:

    a. Picasa API - not working (not working in Console App)
    * This has been retired (Shutdown early next year)
    b. Google.Apis.PhotosLibrary.v1
    - C# released in error and is not supported

    The latest API developers.google.com/photos/library/guides/overview states that only Java and PHP is supported.

    Is there any way that I can fetch photos in .NET? If not, what options are available? Using JavaScript Frameworks such as Angular/Node/React?

    Regards,

    KGComputers
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: Personal |Programming | GitHub
    ___________________________________________________________________________________

    Rating someone's post is a way of saying Thanks...

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    19,343

    Re: Google Photo API

    Quote Originally Posted by KGComputers View Post
    The latest API developers.google.com/photos/library/guides/overview states that only Java and PHP is supported.
    Actually it doesn't.

    It seems pretty clear that they only provide premasticated code for Java and PHP, most likely because those are perceived as high-usage client languages in their target demographic. But I see no hint at that site that these are anything but wrapper libraries around the REST API.

    You probably have everything you need to perform the OAuth 2.0 and RESTful operations yourself or even to construct your own language binding if you need to make repeated use of this web service.

  3. #3

    Thread Starter
    Frenzied Member KGComputers's Avatar
    Join Date
    Dec 2005
    Location
    Cebu, PH
    Posts
    1,926

    Re: Google Photo API

    Right.I believe I misunderstood the docs. What I forgot to specify was I have to do it through a windows service to fetch the files through the API. While browsing through the code samples in github, it's developed in Node.JS and basically had a rough time converting it to .NET functionality.

    Another option I found out is the Google Drive instead of Google Photos since it has an existing .NET API (C#) which can be added to Visual Studio Project through NuGet. I'll post some updates if I'll be making progress on this.

    Regards,

    KGC
    Last edited by KGComputers; Nov 24th, 2018 at 09:50 AM.
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: Personal |Programming | GitHub
    ___________________________________________________________________________________

    Rating someone's post is a way of saying Thanks...

  4. #4

    Thread Starter
    Frenzied Member KGComputers's Avatar
    Join Date
    Dec 2005
    Location
    Cebu, PH
    Posts
    1,926

    Re: Google Photo API

    Ok, I've done a proof of concept application using C# to use google drive instead of photos and submitted them to the client. However, the phones used by the clients are configured using google photos therefore making my proposal as invalid. I'll mark this thread as resolved and will post related questions on consuming the REST API service of Google Photos either in C# or VB.NET subforum.

    - kgc
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: Personal |Programming | GitHub
    ___________________________________________________________________________________

    Rating someone's post is a way of saying Thanks...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width