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

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

No Responses

  1. Google APIs Client Library for .NET Beta is... | .NET, C# and Microsoft | Syngu September 4, 2011 Reply
  2. La Web de Programación September 9, 2011 Reply

Leave a Reply


Interesting BlogPosts to read

Cumulative Update KB3194798 failing to install on Windows 10 Insider Preview
Having issues to install the cumulative update KB3194798 on your Windows 10 Insider Preview machine?...
How to get an Enumerator from range of elements from ArrayList in C# ?
The code snippet shown in this blog post demonstrates how you can get the enumeraor from a range of ...
How to check for the column name in an SqlDataReader Object in C# ?
When working in ADO.NET for data access , there are times when you want to check to see if a column ...