Subscribe to our YouTube Channel for more Videos

Google APIs Client Library for .NET Beta is now available for Download

Google has released its Google API’s Client Library for .NET Beta SDK which is now which is now available for download from

Google APIs Client Library for .NET is a generic .NET runtime client for Google Services . The library supports OAuth1.0a and OAuth2.0 authentication, and is able to generate strongly typed client libraries for Discovery-based services. This client library can be used with all these APIs:

  • APIs Discovery Service
  • Books API
  • Buzz API
  • CustomSearch API
  • Diacritize API
  • Enterprise Audit API
  • Google Analytics API
  • Google Latitude API
  • Google Site Verification API
  • Moderator API
  • Page Speed Online API
  • Prediction API
  • Search API for Shopping
  • TaskQueue API
  • Tasks API
  • Translate API
  • URL Shortener API

The release also includes a service specific libraries for Google API’s .

Here’s a sample to shorten a URL using the service . We need to include the reference to Google APIs Client Library for .NET and Google.Apis.Urlshortener.v1.dll to get this to work in Visual Studio


var service = new UrlshortenerService();
string urlToShorten = "";
Url response = service.Url.Insert(new Url { LongUrl = urlToShorten }).Fetch();
MessageBox.Show("Shortened URL :" + response.Id.ToString());


Know more about Google Client Library here

Senthil Kumar B
Senthil Kumar is a former Microsoft MVP (Most Valuable Professional). He is a Co-Author of the book "Windows 10 Development Recipes using JavaScript and CSS" for Apress Publication. He is a technical presenter, blogger, mentor and a Geek.  Senthil is a regular speaker is various local user groups. He has presented at conferences like Great Indian Developer Summit (GIDS) & Microsoft DevCamps. You can reach out to him via his Twitter handle @isenthil.