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

YouTube upload from VB.NET with V3 API

Anyone familiar with the V3 YouTube API suggest what I might be doing wrong: Dim Service As YoutubeService = GetYouTubeService() Dim SourceVideo As String = "C:\TempMedia\Wildlife.wmv" Dim Meta As New Video Meta.Snippet = New…
0
votes
1 answer

Google API OAuth 2: Use authorization code as a string with Google's .NET libraries

My WinForms app needs to access one of the Google API's (Calendar). For this, the app needs to have authorization, and Google has provided OAuth 2 for this purpose. I've read everything on their docs site here. From another documentation page on…
gosr
  • 4,593
  • 9
  • 46
  • 82
0
votes
1 answer

Error while using 'google-api-dotnet-client' to access FusionTables

I am trying to work with FusionTables API. But I am getting this error: Method 'get_Error' in type 'Google.Apis.Fusiontables.v1.Data.Table' from assembly 'Google.Apis.Fusiontables.v1, Version=1.2.4737.25287, Culture=neutral,…
usp
  • 797
  • 3
  • 10
  • 24
0
votes
1 answer

Error with DotNetOpenAuth2 with VB.Net

My new project demands the implementation OpenAuth. Following is my code. The line scopes.Add(CalendarService.Scopes.Calendar.GetStringValue()) in the GetAuthorization gives the following error. Overload resolution failed because no…
0
votes
1 answer

Handling duplicate Youtube video upload, using YouTube API v3 Dotnet client

First of all let me say that I am not asking "how to check a status of a previously uploaded video". My question is about getting the status of a video from the response of an upload. I am using the dotnet client and right after an upload is…
von v.
  • 16,868
  • 4
  • 60
  • 84
0
votes
1 answer

Getting the list of youtube channels for the authenticated user

I am trying to display YouTube analytics data in a .Net application (Asp.net MVC 4 to be specific) using the google api .net client The only sample I could find for this was a JavaScript sample located here for the most parts I was able to recreate…
0
votes
0 answers

Google Contacts API v3 - How to update gender using C#.net?

I'm using Google Contacts API v3, I'm unable to update gender information for a contact public static Contact UpdateContactName(ContactsRequest cr, Uri contactURL) { // First, retrieve the contact to update. Contact contact =…
-1
votes
1 answer

Google Api - Access is denied from c#, works with python

Facing an access problem using the google Api NuGet: Using google v3 Environment.SetEnvironmentVariable("GOOGLE_APPLICATION_CREDENTIALS", _googleApiParams.CredentialsPath /path to JSON file/); _translationClient = TranslationServiceClient.Create(); …
-1
votes
1 answer

How Can I List All The Files (Videos) From Google Drive To My C# Console Application Using Google API?

using Google.Apis.Auth.OAuth2; using Google.Apis.Drive.v3; using Google.Apis.Services; using Google.Apis.Util.Store; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using…
-1
votes
1 answer

Google Play Integrity API returns 400 "App is not Found." to Server

I am trying to verify integrity using GooglePlayIntegrityAPI. pass the Nonce generated by the Android app to IntegrityAPI and get the token from IntegrityAPI (this was successful) send the token from the Android app to the App server App server…
-1
votes
1 answer

Assistance with starting off with the Gmail API

I need help on how to start off with google apis and how to make my first functioning gmail app (in c#)
-1
votes
1 answer

How to create event in Google Calendar API with videoconference in Google Meet in C#?

I'm trying this code to create object Event using C#, three month ago its worked and I created the events but now doesn't work, I realized that assembly has a new parameter "Event Type" but I don't know if It affects my object event …
-1
votes
1 answer

Ignore playlists for YouTube API V3

I have a C# application I wrote that loops thru certain youtubers and retrieves video information from them. All I care about is the videos themselves. I recently ran into a problem where someone either created or updated a playlist and now it's…
-1
votes
2 answers

OAuth issues with Google Console API

I was hoping someone could help me get auth'd into the google API. here is the code i'm trying to use, var credentials = await GoogleWebAuthorizationBroker.AuthorizeAsync(secrets, new string[] { WebmastersService.Scope.Webmasters }, "user",…
JBoothUA
  • 3,040
  • 3
  • 17
  • 46
-1
votes
1 answer

google drive api to upload all pdfs to google drive

I am using the pydrive to upload pdf files to my google drive folder. I am wanting to send all *pdf files in a local folder at once with this code but not sure where to go from here? Should I use glob? If so I would like to see an example,…