Hi Arvind,

Calendar Data JavaScript client libary is the only that actually
requires a developer key.  All the things you mentioned regarding
authentication are handled inherently, thus there is no need to make
XHR request to explicitly parse out the auth token.  Please take a
look at the samples applications built on top of our GData JavaScript
API to see how authentication is performed and also the link to the
JavaScript Developer Guide for more details:

http://code.google.com/apis/gdata/samples.html

http://code.google.com/apis/calendar/developers_guide_js.html

Hope that helps,
Austin

On Oct 29, 11:29 am, Arv <[EMAIL PROTECTED]> wrote:
> Thanks Austin for the information..
>
> I have been trying to query the events in my calendar, but am not able
> to do it:
>
> This is wat I have been trying:
> I used Javascript: and i did not use the client library for now, just
> to get familiar with HTTP requests...
>
> I used XMLHttpRequest object, to send a POST request, with the
> authentication details...
> and it returned me success, and also some sid, auth, etc...
>
> But once I got that response, i am not sure, how to make that
> authentication valid for the whole session,
> because when I submit another GET request to fetch the cal events, it
> says authentication failed..
>
> This may be becoz I am new to HTTP requests in programming, but could
> you tell me how to resolve this, using XMLHttpRequest alone, as i do
> not want to use the client library for now and also what i have in my
> mind is an integ between google docs and cal...
>
> Thanks
> Arvind
>
> On Oct 29, 11:02 pm, "Austin (Google)" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi Arvind,
>
> > Welcome to the world of GData!
>
> > You do not need a developer key to write code to interact with GData.
> > All you need is a Google account for authentication before you start
> > making GData request.  You can certainly develop your GData code with
> > any language you like such as Java or Perl, as long as you can submit
> > the proper request data through the HTTP protocol.  For more details
> > on the protocol, please check out:
>
> >http://code.google.com/apis/calendar/developers_guide_protocol.html
>
> > There are also client libaries written for various languages(PHP,
> > Java, C#, Python, JavaScript) that Google is providing developers to
> > use, they can be found here:
>
> >http://code.google.com/apis/gdata/clientlibs.html
>
> > If you have any other questions, please let us know!
>
> > Austin
>
> > On Oct 29, 10:51 am, Arv <[EMAIL PROTECTED]> wrote:
>
> > > hi,
>
> > > i am new to this whole gdata api and also web api programming in
> > > general...
>
> > > i am not willing to write a webpage/client but just some perl or jsp
> > > code that can run in my system and then queries or updates google
> > > calendar...
>
> > > when going thru the api docs, i found that i needed a google developer
> > > key, that i need to obtain for a domain... but in my case, ther is no
> > > domain, i want to write a standalone perl program that i can run, to
> > > update gcal... is this possible?
>
> > > this is a very basic qn i guess, but i am new to this thing, if you
> > > could help me get started on this, it would be great...
>
> > > thanks
> > > Arvind- Hide quoted text -
>
> - Show quoted text -


--~--~---------~--~----~------------~-------~--~----~
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