Questions tagged [google-api-dotnet-client]

The Google APIs Client Library for .NET is a generic .NET runtime client for Google Services. It supports OAuth2.0 authentication, and is able to generate strongly typed client libraries for Discovery-based services.

The Google APIs client library for .NET provides simple, flexible, and powerful access to Google APIs such as Drive, YouTube, Calendar, Storage and Analytics.

The library supports OAuth2.0 authentication, and is able to generate strongly typed client libraries for Discovery-based services.

Requirements

  • .net framework 4.5

Supported platforms

  • .NET Framework 4.5 and 4.6
  • .NET Core (via netstandard1.3 support)
  • Windows 8 Apps
  • Windows phone 8 and 8.1
  • Portable class libraries

Developer documentation

Nuget Packages

To make it easer for you to develop with the Google APIs using the Google API client Library for .NET we have released a number of NuGet packages. A full list of all the packages available can be found at Google.APIs nuget

1271 questions
0
votes
0 answers

Authorize user by google account in desktop application without webauthorizationBroker

Google has new api Google.Apis. I have desktop application which authorize user by google account. Old API stop working. How can I authorize user by new API, but WITHOUT webauthorizationBroker in C#? I do not want open webbroswer, I have own win…
Musketyr
  • 745
  • 1
  • 16
  • 37
0
votes
1 answer

When will v3 comment updates be included in the client libraries?

Comments for the v3 api was just released. We're using the .net client library and as far as I can tell the new comments changes are not included in the latest dlls. Does anyone know when the changes will be included in the libraries? I'm just…
NullReference
  • 4,404
  • 12
  • 53
  • 90
0
votes
1 answer

Leveraging Google Youtube .NET Client SDK targetting .NET 4.0

The Google YouTube v3 client SDK for .NET is targeted for .NET 4.5, however I am looking at using it in my application which targets .Net 4.0. Does Google provide any SDK targeting 4.0, or does the application implement it?
0
votes
0 answers

Reference version conflict in nuget package - bindingRedirect doesn't seem to work

The nuget package Google.Apis.Auth adds a reference in my project to Google.Apis.Auth.PlatformServices, but the dll version from nuget is 1.9.1.12399 and it seems that Google.Apis.Auth needs version 1.9.1.12397 instead as you can see in the…
Andrei Dvoynos
  • 1,126
  • 1
  • 10
  • 32
0
votes
1 answer

Why is type of these User properties object: Addresses, Emails, Organizations, etc?

I am referring to the Google.Apis.Admin.Directory.directory_v1.Data.User type. The property type of Addresses, for example, in beta versions (i.e. 1.7 and older) was public virtual System.Collections.Generic.IList Addresses { get; set;…
0
votes
0 answers

Google OAuth on Windows Phone Fails

I have a windows phone 8.1 app and I'm trying to do Google Auth using either Azure Mobile Services Auth or Google Auth library and it fails using both methods returning a 400 error. I get to the sign-in page and after signing in it returns the 400…
0
votes
1 answer

Google Calendar API v3 .NET authentication with Service Account or Web Application ID

I need to connect a Google Calendar on my .NET 4.5 application (VS 2013 project). I want to get all the information from the Calendar, such as: events, dates, notes, names, guests, etc... I used the Google Developer Console to create both a Web…
0
votes
1 answer

Is it possible to use AuthorizationCodeMvcApp for authorization in google contacts API access?

I am currently working on a web app where I sync the user's google contact list. Currently I am able to sync the calendar just fine. Unfortunately the same approach doesn't seem feasible in the case of contacts. Below was my approach for Calendars…
0
votes
1 answer

invalid credential error is comimg while using google analytics

Im using Google Analytics API to show google analytics data, but I am getting invalid credential error at the line AccountFeed accountFeed = service.Query(query); Is gmail username and password and Google Analytics credentials same ? what…
user4493889
0
votes
0 answers

googleshoppingservice product id with slash

I am trying to retrieve a product using the .Net client library. The product in question has a slash in its id: online:en:GB:AKM274/IX_SS using the Google APIs explorer, I use Fiddler to see where the request is…
Vince Lee
  • 89
  • 11
0
votes
2 answers

Is google drive api for c# thread safe?

I'm using google drive API in a multi-thread C# application. I would like to know if the Google dot net client library it's thread-safe or not. Also I would like to know what's more right: create a singelton service, or a new service every time.
0
votes
1 answer

Why does ServiceAccountCredential fail with invalid credentials?

Based on this prior question: where can i find ServiceAccountCredential I created my own service account, downloaded the .p12 key, enabled datastore. But I still get this error: Unhandled Exception: Google.GoogleApiException:…
0
votes
1 answer

Google.Apis SDK: Google+ sharing in windows phone

I have integrated Google.Apis SDK in my windows phone 8.1 store app. I have not found any API to share interactive posts on google+. Is that API is available in Google.APis SDK? If yes, Which one? For iOS GPPNativeShareBuilder is used for…
0
votes
1 answer

How can i log a user into google when they visit my site?

I am developing a singe sign on solution and need to be able to log a user into their Google account whenever they use visit the site so they can access any Google services. I am getting access and refresh token from google and saving them to my…
0
votes
1 answer

Deserialize ExternalIDs in Google apps Directory API

I can see the JSON response but I'm not able to deserialize the ExternalIDs in google apps directory API. (C#) var users = service.Users.Get(EMail).Execute(); var externalIDs = JsonConvert.DeserializeObject(users.ExternalIds); Gives…
Zonus
  • 2,313
  • 2
  • 26
  • 48