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 Code.google.com

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 goo.gl 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 = "http://maps.google.com/";
Url response = service.Url.Insert(new Url { LongUrl = urlToShorten }).Fetch();
MessageBox.Show("Shortened URL :" + response.Id.ToString());

Know more about Google Client Library here

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you’ll learn about the error message “WorkbookNotSupported – The file you selected cannot be opened because it...
  • .NET
  • December 17, 2022
In this post, you’ll learn about the error message “SpecifiedRangeNotFound – The requested range does not exist in the sheet.”...
  • .NET
  • December 17, 2022
In this post, you’ll learn about the error message “SheetRangeMismatch – The sheet provided as the sheet argument is not...
  • .NET
  • December 17, 2022