English | Site Directory

Google Base Data API

Accessing the Google Base data API using C#

Using the C# Client Library

The Google Base data API C# Client Library offers a nice object oriented abstraction for accessing the Google Base data API. There are three sample applications written in C# that show how to use the client library. You can use these as a basis for writing your own application using the GoogleBase data API C# Client Library.

  • QueryExample is a simple C# application that demonstrates how to perform queries using the GoogleBase data API C# Client Library.
  • The CustomerTool example is a C# command-line tool that demonstrates how to make XML requests over HTTP to the GoogleBase data API and handle the XML response.

You may also find it useful to read the C# Developer's Guide, as well as the Google data client library ndoc reference.

Handling errors

The sample applications do not do any error-handling in order to simplify the code, but it is good practice to include it. Refer to the C# Developer's Guide for more information.

Go to QueryExample