Google APIs Client Library for .NET
C# Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
ClientGenerator Update version v1.32.3 -> v1.33.0 (#1208) Apr 20, 2018
DiscoveryJson Update discovery documents and generated code Apr 17, 2018
Doxygen Update version in Doxyfile to 1.10.0 Dec 11, 2015
Resources Move and update .nuspecs Jan 11, 2016
Src Update version v1.32.3 -> v1.33.0 (#1208) Apr 20, 2018
third_party/System.Net.Http Introduction of works derived from System.Net.Http Dec 8, 2017
.gitignore Update discovery documents and generated code May 24, 2017
.travis.yml Update travis to use net core 2.0.0 (#1119) Nov 29, 2017 Add sourcelink to support and generated packages (#1206) Apr 20, 2018 Add sourcelink to support and generated packages (#1206) Apr 20, 2018 Update contributing doc (#827) Aug 23, 2016 Doc how to generate a nuget package (#1133) Dec 8, 2017 Update docs (#1009) May 19, 2017 Doc how to generate a nuget package (#1133) Dec 8, 2017
LICENSE Issue 351: Reimplement OAuth2 library (Step 1) Sep 23, 2013
NuGet.Config Tidy up CI, nuget (#1007) May 19, 2017 Add docs about client re-use (#1132) Dec 8, 2017 Merge netcore branch to master (#795) Aug 4, 2016
appveyor.yml Fix appveyor build (#1079) Aug 30, 2017 Ignore discovery-doc download errors (#1047) Jul 6, 2017
global.json Update travis to use net core 2.0.0 (#1119) Nov 29, 2017
google.apis.public.snk Issue 238: Change Google.Apis.Release to use the ReleaseSigned version Jun 11, 2015
google.apis.snk Commit the strongname signing key Jan 11, 2016

Build Status

Google APIs client Library for .NET

Google Cloud Platform APIs

If you're working with Google Cloud Platform APIs such as Datastore or Pub/Sub, consider using the Cloud Client Libraries for .NET instead. These are the new and idiomatic .NET libraries targeted specifically at Google Cloud Platform Services.

Library Maintenance

This client library is supported but in maintenance mode only. We are fixing necessary bugs and adding essential features to ensure this library continues to meet your needs for accessing Google APIs. Non-critical issues will be closed. Any issue may be reopened if it is causing ongoing problems.

Please see the FAQ for more details on what this means.


The Google API client library for .NET enables access to Google APIs such as Drive, YouTube, Calendar, Storage and Analytics. The library supports OAuth2.0 authentication. Strongly-typed per-API libraries are generated using Google's Discovery API.

Please see the FAQ for answers to common questions.

Supported Frameworks

  • .NET Framework 4.5+
  • netstandard1.3, providing .NET Core support


ASP.NET Core is supported through the netstandard1.3 framework target. However there are currently no authentication helpers or examples specific to ASP.NET Core, making authentication more difficult to use than on other platforms. This is being tracked in issue #933.

Legacy Supported Frameworks

We provide best-effort support for these platforms, but new features may not be available.

  • .NET Framework 4.0
  • Windows 8.0 (Windows app)
  • Windows Phone 8.1
  • Windows Phone Silverlight 8.0

Unsupported Frameworks

  • Silverlight
  • UWP

For more details on framework support see

Developer Documentation

NuGet Packages

To make it easier for you to develop with the Google APIs using the Google API client Library for .NET we have released a number of NuGet packages. The libraries published by Google are owned by google-apis-packages.

API-specific Libraries

The generator that produces the source code for API-specific libraries is in ClientGenerator/. The most recently generated code is available in Src/Generated/, and the discovery documents from which that code was generated are in DiscoveryJson/.

Support Forums

If you find an issue with in the client library we would appreciate you adding an issue in the issue tracker. Questions regarding usage of the client library should be posted to using the tag #google-api-dotnet-client