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
2 answers

Bug with the .net-client for google translate?

Anyone else experiencing issues with the .net-client for google translate? It seems to be working properly as long as the strings i try to translate are short enough to fit within a GET-request. But when they exceed that and the client tries to do…
Lars
  • 3
  • 2
0
votes
0 answers

Does Google Drive SDK/API have a throttling/limiting policy (bandwidth limit)?

I created a program that downloads an entire user's drive. To improve the performance, it's a .NET multi-threaded application and I increased the value of System.Net.ServicePointManager.DefaultConnectionLimit to increase the limit of simultaneous…
mtheriault
  • 1,065
  • 9
  • 21
0
votes
2 answers

UnauthorizedAccessException using Google Apis in a site running on IIS

I've been strugling in the past few days with an Asp.Net MVC website which has to use the Google Apis (Calendar) It works just fine in ASP.Net Developement Server, or IISExpress, but it just won't work on IIS 7.5. Here's the basic authentication…
Vincent J
  • 1
  • 1
0
votes
0 answers

Cannot compile latest release google-api-dotnet-client. - GoogleApi.Core

Build Log ------ Build started: Project: GoogleApis.Core, Configuration: Debug Any CPU ------ C:\Work\BM Projects\GoogleAPI\v3 Source\Src\GoogleApis.Core\Apis\Http\ConfigurableMessageHandler.cs(161,60): error CS1003: Syntax error, '('…
0
votes
0 answers

Oauth2 Create User Forbidden

Using OAuth2 from Google.apis.auth.OAuth2 and getting a 'Forbidden' message. Can't find place to 'allow' in Developers/Apps consoles, beyond the turning on of APIs. Have turned on Admin SDK, Google+ APIs. Here is the response I receive: Create…
0
votes
1 answer

Adding custom variables for querying - Google Analytics

Here is a working example of a Google Analytics Client the returns Visitors by date from a Google Analytics Account. In order to get the data i must send a request with query parameters (StartDate, EndDate, Metrics, Dimensions) to the Google…
WhoAmI
  • 1,188
  • 6
  • 17
  • 47
0
votes
1 answer

Google+ unable to insert moment - A Year and 6 Revisions After

NOTE: Using the Sign-in button is NOT an option A year ago I was having a problem creating a moment. Back then I was using version 1.2 of the Google+ API .Net client. As I described in this post, I had it working although the code failed to insert a…
von v.
  • 16,868
  • 4
  • 60
  • 84
0
votes
2 answers

google api .net client v3 getting free busy information

I am trying to query free busy data from Google calendar. Simply I am providing start date/time and end date/time. All I want to know is if this time frame is available or not. When I run below query, I get "responseOBJ" response object which…
ZOO
  • 15
  • 7
0
votes
0 answers

Google apis DirectoryService returns 403 after multiple successful requests

I'm building a web service that's sends user information to Google. All is working fine, till I do multiple requests. It fails after 10-20 successful requests. As login method do I use the Google Service Account. This is code u use to test the…
0
votes
1 answer

How to efficiently retrieve events from multiple google calendars

Our scientists reserve time on 100 google calendars, which correspond to 100 scientific instruments at our laboratory. I display combined events for a scientist from all 100 calendars and display his/her events on a web page, so that the user can…
0
votes
1 answer

OAuth 2.0 Authorization and Group Manager feature with Google's New Directory API for .NET library

We are currently using the "Deprecated Provisioning API" using the .NET libraries for creating Google Groups within our organization. Provisioning API does support adding Group Members with Manager role. As a work around, we would like to build…
0
votes
1 answer

Google Analytics API exception in C#

I am new to Google Analytics and tried to access analytics data with an example I found online. It throws the below exception: Google.GData.Client.ClientFeedException: Parsing failed ---> System.Xml.XmlException: Data at the root level is invalid.…
Kumar
  • 171
  • 2
  • 2
  • 8
0
votes
1 answer

VS2013 - Nuget - Installing Google.Apis.Datastore.v1beta2 gives error

Peace be upon You, I have VS2013 Ultimate, I tried to install Google.Apis.Datastore.v1beta2 using Package manager console with this command as stated here Install-Package Google.Apis.Datastore.v1beta2 -Pre and I got these results: Attempting to…
0
votes
1 answer

Google Cloud Storage .Net APIs: setting AsyncState with UploadAsync

I am trying to pass in some data to the continuation method once UploadAsync finishes. I can read the AsyncState from withing the method, but I don't know how to set it from outside? Here is a sample of what I have so…
0
votes
1 answer

How to send subsequent event notification from a google calender to guest user without sending invitation?

I am using Google Calendar API to notify guest user from my own Google calender. I am adding events to my calendar with some guest user. But every time I make an event to that calendar with guest user, guest user have to accept invitation to get…