Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Group info
Members: 1261
Language: English
Group categories: Not categorized
More group info »
Recent pages and files
Using cURL to interact with Google data services    

Introduction

At heart, Google data APIs (GData) use Atom feeds and entries (XML) as a data format and HTTP as a protocol for data transmission -- extending the Atom Publishing Protocol. We publish a number of client libraries to make interacting with Google data APIs easier. However, you're always welcome to use lower-level tools to work with our services, and it's pretty easy to do with a little guidance.

cURL is a command-line application for performing requests using a variety of protocols including HTTP. cURL is often used by developers to test Google data services, as it allows supports the HTTP functionality required to interact with the APIs at a low level.

cURL only provides support for performing the HTTP communication, so knowledge of the GData protocol, the service-specific protocol and the XML data format used is a prerequisite for working with the application. Some other tools are mentioned in this article for making these tasks easier.

This article uses examples based upon the Picasa Web Albums data API. However, all these examples can be readily applied to other Google data APIs

 

 

For the rest of this article, visit the Developer Knowledge Base

 

Please add comments below using the 'Discuss this page' feature if you want to discuss this article with your fellow developers or share feedback with Google.

Version: 
Latest 3 messages about this page (5 total) - view full discussion
Nov 3 2007 by Devraj
Hi,
Glad you found the post useful.
I am actually not employed by Google. We wrote GDataCopier for a
client that required that functionality. The project has been very
well received and we have a few active users already. In the long run
we hope that the functionality provided by GDataCopier is merged into
Nov 2 2007 by Mr. Apache
Great link Devraj, thank you! It's nice that Google hires such
talent, and exciting to know the future of the API is going the right
direction.
Some cURL examples: http://www.askapache.com/webmaster/login-to-google-adsense-using-php.html
Oct 17 2007 by Stefan Roesch
Is there some sort of equivalent that I'm not seeing that I could use to
manually make calls using a web-browser compatible client-side technology
that could make calls directly to gdata without using any apache redirects?
I'm trying to build an app that doesn't waste time and bandwidth by going
through a redirect or using server-side calls. I'm trying to do this with
2 more messages »
Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google