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 refresh google+ api key in c#

The Google API key is for 24th . after this expire. so i need to refresh it in my project. so I've used the following code to refresh API key in WPF c# class refApiKey { /// /// This example uses the discovery API to list all…
zfarzaneh
  • 55
  • 10
0
votes
0 answers

Google Calendar API V3 and System.Net.Http.Primitives.dll

I am trying to fetch calendar information for Google calender with C# .net 4.0. If i make a new Windows Form Application and then using NuGet to download Google Calendar API V3, all dependency is installed and everything works as it should. Now to…
Kristoffer Isaksson
  • 881
  • 1
  • 6
  • 15
0
votes
2 answers

Unauthorized to list Google spreadsheets with scoped OAuth token

I'm making a program running on Windows desktop. I'm pretty sure I registered the application type as an "Installed application" − does this matter anyway? I can get an access code from the user and combine that with my client ID and secret to get…
0
votes
1 answer

Google apis sdk for windows phone store app

I have developed windows phone store app and integrated google login without using Google.Apis sdk. I used WebAuthenticationBroker and its working fine. UPDATE 1: Now I am trying to explore updated Google.Apis SDK for google integration for login. I…
0
votes
1 answer

shipping[].locationGroupName in Google Content API for .Net

Does the current .Net Content API library (1.8.1.60) not support the locationGroupName property for ProductShipping? The API documentation shows this as a property, but I don't seem to be able to find it in the latest class library.
troj
  • 3
  • 1
0
votes
1 answer

.net and google authentication

I have worked with the google example of working with the google calendar. My app worked great until they recently changed the API. I am finding their documentation to be a little overwhelming and not very useful. I have used this example. I am…
0
votes
2 answers

Google API OAuth 2.0 flow for devices and .NET API

I would like to work with Google's .NET API while using OAuth 2.0 flow for devices. I didn't find any way to use GoogleWebAuthorizationBroker or Create UserCredentials object in .NET when working with OAuth 2.0 flow for devices. Is there a way to…
Burgaz
  • 237
  • 7
  • 14
0
votes
0 answers

to persist RefreshToken while authenticating using GoogleAuthorizationCodeFlow

var REFRESH_TOKEN = System.Configuration.ConfigurationSettings.AppSettings["AdxToken"].ToString(); ClientSecrets secrets = new ClientSecrets() { ClientId = clienID, ClientSecret = clientSecret …
Tweety01
  • 176
  • 2
  • 17
0
votes
1 answer

Google Admin Directory API SDK User Last Logged In Not Fully Accurate

I use the .Net API for managing my organization's users within Google Apps. Within the directory API you can "RetrieveUser". This returns a User object that has a date property of "LastLoginTime". Google used to separate out their Last Login Time…
DFTR
  • 861
  • 10
  • 30
0
votes
1 answer

Google.Apis.Http.ConfigurableMessageHandler exception at runtime

I have problem with Google Analytics API .NET. While connecting to GA via api at line var certificate = new X509Certificate2(pathToPrivateKey, passToPrivateKey, X509KeyStorageFlags.Exportable); ServiceAccountCredential credential =…
0
votes
1 answer

execution of request failed https //www.google.com/calendar/feeds/default/allcalendars/full

I am trying the below code but it always gave me the same exception... using Google calender api v3 using Google.GData.Client; using Google.GData.Extensions; using Google.GData.Calendar; Google.GData.Calendar.CalendarService calendarService = new…
0
votes
1 answer

Google+ Moments.insert - Unauthorized Error

According to the docuemtntation for Moments.insert with the Google+ API autentication with the following scope is required https://www.googleapis.com/auth/plus.login I am authenticating with all of the possible PlusService scopes but i am still…
Linda Lawton - DaImTo
  • 106,405
  • 32
  • 180
  • 449
0
votes
1 answer

How do I discover the current rate usage in a Google API?

I'm writing a wrapper to Google's Admin SDK. I'm concerned that one of my clients might exceed the API limits. How can I accurately know how many requests the client will still have for the day? Do I need to keep track of this locally somehow? …
Nick DeVore
  • 9,748
  • 3
  • 39
  • 41
0
votes
1 answer

Google Freebase Login using Google Client lib

I am tring to write to Freebase using MQLWrite. I manage to write using the Freebase Query. I enter the url and get an error saying Login is Required I am using C#. another thing to mention is I do not need a user consent. I created a service…
0
votes
0 answers

Use Google Calendar API in User Control : System.IO.FileNotFoundException

I fail when trying to use the Google API v3 in a user control. Steps: Create a new project in Visual Studio Express 2013 Update 4. Target framework: .NET 4.5 (tried 4.0 too) Install NuGet package "Google.Apis.Calendar.v3 Client Library" and all and…
flexo
  • 1,120
  • 1
  • 9
  • 14