Yesterday on the Google Developers blog they announced the release of version 1.8.1 of the Google APIs client library for dot net. The big change in this version is the removal of the -Pre and -Rc tags. That’s right we aren’t in beta anymore. All of the Google.Apis packages on NuGet are now considered to be stable. The library is available for more than 50 Google APIs; it streamlines everything from authentication , uploading and downloading of files and media.
Not only has the team worked hard on the release of this shiny new client lib but they have worked very hard to improve the Documentation: Google APIs Client Library for .NET
There is a nice list of the supported apis: I went ahead and checked under Google Analytics and found this:
-
Browse the .NET reference documentation for the Google Analytics API
-
Read the Developer’s guide for the Google APIs Client Library for .NET
-
Interact with this API in your browser using the APIs Explorer for the Google Analytics API.
The Reference alone is worth its weight in gold. I have been trying to work out user insert with the management API for a few weeks now; I have been unable to build a EntityUserLink correctly. It looks like its all documented, I just need to sit down and read through it.
APIs Explorer is going to be such a useful tool for testing things. It looks like it works with All of the APIs; but just check the one for Google Analytics each of the requests you can make you can test them though the Explorer.
Conclusion
I have been using the .net Client library for around 6 months now I haven’t had any problems with it. If you have ever tried to connect to one of the APIs using Oauth2 without using the client library; you understand what a joy it is to use this client lib. Everything is just so much easier. Documentation is one of the most boring jobs for a programmer. The development team deserves a big thanks for their hard work here, the dot net client lib was sadly undocumented in the past. That is no longer the case; personally I think that this is one of the best documented Google Client library’s. Good work guys we appreciate it.