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

Google OAuth shows error web page after successful authentication (using Google API .NET in Desktop application)

I have written some code to export appointments from my desktop C# application to Google Calendar. I am using Google Calendar API for .NET. The code works well, except for the web browser always shows an error page after authentication (the…
-1
votes
1 answer

Are there any legal requirements when deploying code with the youtube api?

We are currently completing a .Net application that uses the YouTube API. The API DLLs are loaded from NuGet packages, all working fine. To be legally on the safe side, do we need to include any further files in our installer, e.g. an API readme or…
-1
votes
1 answer

Google api oauth desktop .net library

Using Google apis with OAuth 2.0, Google recommends using an HttpListener for desktop apps with a note in the documentation that you may run into firewall issues. How is this implemented in their code (GoogleWebAuthorizationBroker.AuthorizeAsync),…
-1
votes
1 answer

Opening OAuth2 Authorization URL in a browser control

I am trying to learn about the Google's Drive API while I am writing a little program. I am using GoogleWebAuthorizationBroker class for asking the user to give the app permissions, but the drawback is that it is automatically opening a new browser…
ShadowHunter
  • 280
  • 8
  • 16
-1
votes
2 answers

How to obtain android app version code using Google Api?

My desktop app used www.google.com/accounts/ClientLogin (which currently unavailable) to obtain authentification token, that i used to get android application info from unofficial market api (https://androidquery.appspot.com/api/market?app=(put the…
-1
votes
1 answer

api to find company of logged in user when the user is part of google apps domain

I am trying to create an app for some of my customers who are using google apps domain. I wanted to use google services to distinguish the users based on their company name. I was trying to figure out which API is useful for this scenario.
-1
votes
1 answer

C# console application that sends a google calendar invitation

I'm a pretty new to C# and am much more familiar with Python. But interfacing with a couple programs is more straightforward with C# so I'm attempting to do what I want with it instead of Python. I've created a Python application that uses SMTP,…
cndnflyr
  • 163
  • 2
  • 14
-1
votes
2 answers

Google Apis Strong naming in binaries

I'm trying to receive google users for my app.... I installed 2 packages from nuget - Google APIs Client Library 1.9.0 and Google.Apis.Admin.Directory.directory_v1 My environment is Windows7, VS2010 with .NET4.0 framework I've got this…
ishigh
  • 31
  • 1
  • 1
  • 7
-1
votes
1 answer

Where is the download for the dotnet GMail APIs?

The link specified: https://code.google.com/p/google-api-dotnet-client/wiki/APIs#Gmail_API points to an outdated page, and the new reference on that page does not have it either: https://developers.google.com/api-client-library/dotnet/apis/ I don't…
joe
  • 1,125
  • 9
  • 18
-1
votes
2 answers

Retrieve user detail from google - It should be simple right?

I already have the user authenticated using the browser. Now I want to send this token to the server and the server has to get the user details like first name, last name and email address. I've done this with Facebook recently and it was simple…
-1
votes
1 answer

Google.Apis.Auth.1.8.1 Sample for authentication (WP8, WP8.1 & Windows Store Apps)

I am trying to use the nuget package Google.Apis.Auth.1.8.1 for authentication in Windows Phone and Windows Store Apps. I found this Google C# Api Beta 1.6 Authentication Issue and…
-1
votes
1 answer

Basic example of OAuth authorization to upload YouTube video using latest API 1.7+++

So the latest beta update looks totally different in terms of OAuth integration and I would love a little bit of guidance on getting it working. The samples posted online are all outdated at this point. The BaseCleintServiceInitializer takes…
-1
votes
2 answers

GoogleWebAuthorizationBroker Throws Exception in C#

I am trying to authenticate with Google using OAuth inside a Windows 8 App. I am using the Google .NET Client API for this, following this tutorial. However I keep getting an exception when I use the GoogleWebAuthorizationBroker class. The code I…
kkrizka
  • 893
  • 1
  • 11
  • 16
-1
votes
1 answer

working sample of google datastore using v1beta2

is there a working sample for datasotre v1beta2? I googled but I was not able to find anything which can be compiled with current version. I also tried creating it based on java implementation bud had no success any hints? thanks almir
zebra
  • 1,330
  • 1
  • 13
  • 26
-1
votes
2 answers

How to use youtube-api ver 3 sample files of .net?

I need to develop web application which use youtube api v3 for searching videolist by channel name and author name. for simple testing go to youtube api client site then download sample files of .net. I downloaded youtube/yt-samples-dotnet from…
hmmmmm
  • 9
  • 1
  • 4
1 2 3
84
85