There are several different APIs here, so it's important to be precise.

The GData Calendar API is a extension of the Atom/AtomPub API. As such
it uses feed urls and xml.

The language specific API are abstractions of that API in terms that
are more idiomatic in terms of the specific language. The language
specific APIs don't have access to any underlying data that is not
exposed by the Atom/AtomPub API, but depending on how the language
specific API was written, some things that are easy or possible with
the AtomPub API are difficult or impossible with the language specific
API. Conversely, the language specific APIs make it easy to get at the
data that they do expose:

var first_event_today = GDATA.feed.events_by_date(today).first

(hypothetical example in invented language api) is a lot easier than
the hoops you have to do to authenticate, get the correct feed, parse
it and get the right elements from the xml.

Since I saw that you posted this question in the Objective C API
group, I know that you are trying to use that API. I don't know
anything about that API, but presumably you pass the API either a
feed, similar to what I posted before, or a calendar id - which would
be calendar.maven%40gmail.com in that same case - to create a calendar
object. From that object you should be able to query for particular
events in any manner that the Objective C API allows.

Hope that helps,

Ray



On Mon, Apr 13, 2009 at 9:40 AM, Tom Harrington <[email protected]> wrote:
>
> On Apr 11, 9:30 pm, Ray Baxter <[email protected]> wrote:
>> Yes, it is possible. If you just fetch a public calendar feed url,
>> you'll get the data for that calendar.
>>
>> Here's an 
>> example:http://www.google.com/calendar/feeds/calendar.maven%40gmail.com/publi...
>>
>> You can get the results from that calendar by clicking on the url or
>> from your application program.
>
> What I'm actually hoping to do is use the calendar API to run queries
> about which events are scheduled on which dates and times.  I'm new to
> the API though and I'm not sure how or if the XML version that the
> above URL provides can be used for that purpose.  If the app logs in,
> the calendar query resolves recurrence rules so that I can look up
> what happens in a given time span without processing the recurrence
> rule(s) myself.  If I'm not mistaken (please say I'm mistaken) I can't
> do that with the public XML URL.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to