The Google API client libraries, which are available in a number of popular programming languages, make it easy to use the Google URL Shortener API.
In the tables below, the first column shows each library's stage of development (note that some are in early stages), and links to documentation for the library. The second column links to available samples for each library.
These early-stage libraries are also available:
Often, the easiest way to learn how to use an API can be to look at sample code. The table above provides links to some basic samples for each of the languages shown. Currently, there are no additional featured samples available for the Google URL Shortener API.