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
1 answer

How to find out what API version Google Data API .NET Client library uses?

I'm using the .NET Client Library (version 2.2.0) for Google Data API: https://code.google.com/p/google-gdata/downloads/list I'm reading that Google is going to stop support API v2 for the Calendar API. I'm not sure what version of the API the .NET…
Mark
  • 440
  • 4
  • 16
0
votes
0 answers

Where can I get the strong named version of the dlls for Google .net client lib

Can anyone tell where I can get Google.Apis.dll, Google.Apis.Analytics.v3.dll, Google.Apis.Auth.PlatformServices.dll and Google.Apis.Core.dll which are of strong named. Or atleast if I can get the source code of those dlls, I can able to sign in…
0
votes
1 answer

Unable to create a job using google coordinate service

Visual Studio 2010 Framework 4.0 I am trying to insert a job using Google coordinate API.For inserting job I tried two ways.Using webrequest and coordinate API.But I am not able to insert the job. Using Google Coordinate API:Getting…
Sham Yemul
  • 463
  • 7
  • 30
0
votes
1 answer

google plus page insight data using google API - c#

google plus page insight data using google API, i was unable to find api explorer for google plus page insight's data. i have registered the page details here: https://developers.google.com/+/api/pages-signup, waiting for its approval. is there a…
0
votes
1 answer

Issue with "Get" message with gmail api v1 (Net)

Im trying to get info of a gmail message in a datagridview but only returns the datagridview empty (even when I erase the "return nothing" line) but when I try in apis-explorer I get the 200 ok response. What am I doing wrong? The code Im using is…
Alan Alvarez
  • 646
  • 2
  • 11
  • 32
0
votes
1 answer

'System.AggregateException' occurred in mscorlib.dll, when trying to authenicate using Google API

I'm trying to make a little calendar app, just for myself, using Google Calendar API. I'm using C# and .NET for this. Basically, all I did was copy the example code from here and added FileDataStore class from here Created a project in Google…
0
votes
1 answer

Using startup script from .net api

I'm trying launch an instance with a startup script in the compute engine .net API. Here's the code I'm using- var start = new Google.Apis.Compute.v1.Data.Metadata.ItemsData(); start.Key = "startup-script"; start.Value =…
Ross Manson
  • 339
  • 1
  • 3
  • 14
0
votes
0 answers

Error 403 trying to get a list of messages (Gmail) and tasks (Google Tasks) with Apis

I am working with VB.Net, I followed the instructions to get a list of messages (gmail api v1) and tasks (tasks api v1) from Google:…
Alan Alvarez
  • 646
  • 2
  • 11
  • 32
0
votes
0 answers

Accessing Google API by initializing properly the AdWordsUser object

I am new to Google API. I need to access Adword Offline Conversion API through .NET code. In theory this is pretty easy since all the .NET code that implements this knowledge is provided…
0
votes
1 answer

Unable to migrate Email with attachments using Google Email Migration API V2 with Nuget library in C#

I am able to upload emails which doesn't have any attachments, but i am not able to upload emails which has attachments. Is there any source where i can view the source code on how to do that? Or can provide me any pointers / code stub using which i…
0
votes
1 answer

Unable to create Fakes for Google APIs

I am trying to create some unit tests for an app I am writing which consumes google APIs (in particular Calendar v3 (https://developers.google.com/google-apps/calendar/) I right click on the reference to the calendar assembly and say "Add Fake…
0
votes
1 answer

Create Google Users using API

I'm following the documentation from Google on how to create a user through the API but I cannot figure what I'm missing. This is the code I'm using: string SERVICE_ACCOUNT_PKCS12_FILE_PATH = @"myfile.p12"; string SERVICE_ACCOUNT_EMAIL =…
vmasanas
  • 503
  • 1
  • 7
  • 18
0
votes
0 answers

Moments.Insert with URL returns bad request (400) error code

I'm trying to insert a moment on a Google+ App using the .NET Libraries given by Google. I need to use the URL (it's a requirement) but it always give me the 400 error code (bad request) after executing the Insert. Code is something like this (I got…
m00gg
  • 5
  • 2
0
votes
1 answer

issue when accessing datetime value from async task

I am trying to insert an event on my Google calendar. Everything is working fine but only problem is that when I change the value of my datetimepicker, it doesn't change at the time of execution. for example, if I change the value of datetimepicker…
Malav Shah
  • 143
  • 2
  • 16
0
votes
1 answer

Google API V3: videosInsertRequest.UploadAsync returns "Response status code does not indicate success: 400 (Bad Request)"

Last Friday, execution of videosInsertRequest.UploadAsync in my EXE worked fine. Today, Monday, two exceptions are returned via the Response_Received event handler: Response status code does not indicate success: 400 (Bad Request). followed by Value…