I have startet the project gcapi http://code.google.com/p/gcapi to
provide an easy interface to the google calendar api.
please leave a comment for the project
ciao
martin
I checked out your project and it seems like a nice api. I've made a
few changes additions which I think make sense, and I'd like to send
you a patch for them, maybe you will find them useful.
I'll make a patch a bit later and send it out. Here's the gist of what
I did:
- Change the GoogleService.search and GoogleService.searchCalendar
methods to GoogleService.getEntries and GoogleService.getCalendars,
respectively. I think these names make more sense, since this is really
a getter method.
- Add a new GoogleService.query method that allows you to query a
particular calendar.
I'm also working on adding support for the google QuickAdd feature,
which is in my mind one of the best features of GCal, but is
unfortunately not part of the public api.
Let me know what you think,
Igor
yes sende me this patch, I will apply it.
would you help me with the project?
martin
i have you add as member to the gcapi project, thanks for the patch.
martin
Thanks, I'll be glad to help out with some of the functionality, I'm
interested in having a nice python api for GCal for a few application
ideas I have.
I'm trying to figure out the best way to do the QuickAdd
functionality, we'll see how that goes. :-)
Igor
can you send me some informations about QuickAdd, maybe I can help you
to add this feature.
thanks
martin
Hi Martin,
Sorry for the looong delay. :)
QuickAdd is the feature in google calendar where you can enter a
string like "Meeting with Bob on Jan 17th at 2pm" and it will parse
it and create an event for you. I think it's a very useful feature.
Someone found out that if you send a string to 'http://www.google.com/
calendar/compose?ctext=' it will parse it and return a JSON object
representing the event. There is a firefox extension making use of
this that allows you to add events to GCal (http://torrez.us/archives/
2006/04/18/433/). This isn't part of the official API but I figured
out what the cookies that need to be set are, and have a script that
can connect to this service. It's pretty ugly since httplib2 doesn't
support cookies, so we need to authenticate manually. I'll have some
time over the holidays to hack on this, so I'll try to add it to
gcapi if I can.
Also, what are the other places where you think gcapi needs work?
I'll probably have some time the I could spend working on it.
Thanks,
Igor
2006/12/23, Igor Foox <igor...@gmail.com>:
>
>
> On 27-Nov-06, at 12:51 AM, martin.mo...@googlemail.com wrote:
> >
> > can you send me some informations about QuickAdd, maybe I can help you
> > to add this feature.
>
> Hi Martin,
>
> Sorry for the looong delay. :)
no problem, I haven't any time too.
>
> QuickAdd is the feature in google calendar where you can enter a
> string like "Meeting with Bob on Jan 17th at 2pm" and it will parse
> it and create an event for you. I think it's a very useful feature.
>
> Someone found out that if you send a string to 'http://www.google.com/
> calendar/compose?ctext=' it will parse it and return a JSON object
> representing the event. There is a firefox extension making use of
> this that allows you to add events to GCal (http://torrez.us/archives/
> 2006/04/18/433/). This isn't part of the official API but I figured
> out what the cookies that need to be set are, and have a script that
> can connect to this service. It's pretty ugly since httplib2 doesn't
> support cookies, so we need to authenticate manually. I'll have some
> time over the holidays to hack on this, so I'll try to add it to
> gcapi if I can.
oh, quickadd should be added to the gcapi ...
>
> Also, what are the other places where you think gcapi needs work?
> I'll probably have some time the I could spend working on it.
but first I thing we should add
real classes for 'who' and 'where' and convert the string objects to
real types maybe the time and date string.
>
> Thanks,
> Igor
>
merry christmas
Martin
>
>
>
> >
>