GoogleCL Calendar Delete Specific Event by Event ID

99 views
Skip to first unread message

Gabriel Bakker

unread,
Feb 7, 2013, 5:29:37 PM2/7/13
to googlecl...@googlegroups.com
I'm a programmer and one of my clients uses a custom calendar program that I wrote for them a few years ago. They need me to integrate this custom calendar with Google Calendar for them.

I'm trying to use GoogleCL to Add events, and this is working fine, although I have one major question here: "How do I specify the Location of the event?"

I've been searching the web for two days now, and I have scoured the documentation multiple times. I've even read the googlecl source code (what I can understand of it) and nothing anywhere indicates how to explicitly specify the events location, so for now I'm stuck using the Quick Add parser which could easily fail if the wording the end user used for the event conflicts with googles parsing rules.


Now to my real question:
How do I delete a specific event????? The instructions only talk about deleting an event by title, but its very likely that my clients will have multiple events with the same or similar titles. I can record the events ID in my software when adding the event, and use that to delete later, ensuring that I'm deleting the proper event. So here's the question: How do I delete an event from google calendar using googlecl and the Event ID?


Please help. I've been wasting days of my life working on this, hours I can never get back, that the client will not pay for. And all I'm trying to do is help more people use Google products for things. I was a big fan until I discovered how lackluster your support options are. I'm pretty skeptical that I'll get an answer at all even from this post, but I can at least keep my fingers crossed and try..

Gabriel

Tom Miller

unread,
Feb 8, 2013, 11:11:43 AM2/8/13
to googlecl...@googlegroups.com
It sounds like you'd be better off using the API directly. GoogleCL was meant to be used more or less directly by the user on the command line. When the user deletes by an ambiguous title, GoogleCL will prompt for each deletion. Asking the user to supply event IDs would be kind of terrible.

It looks like you want to do this:


 - Tom


--
You received this message because you are subscribed to the Google Groups "GoogleCL Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to googlecl-discu...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Gabriel Bakker

unread,
Feb 8, 2013, 4:08:45 PM2/8/13
to googlecl...@googlegroups.com
Thank you Tom! This is an excellent suggestion. I didn't know you could do it by URL like that. I can enter URL's from the command line fairly easy.

The reason I'm not able to use an API directly is because I'm writing this stuff in an archaic language called Business Rules (formerly Workstation Basic (in 1981), formerly IBM System/23 Basic (in the 50s, 60s and 70s) - The oldest language I know of thats still being maintained and improved). It has pretty limited integration options - I'm basically limited to the command line. There is a new feature for running DLLs but its buggy.

Oh, and erm.. I'm sorry for all the angst in the post yesterday .. I guess I was just having a bad day ..

Gabriel

Tamer Ziady

unread,
Apr 26, 2014, 3:06:05 AM4/26/14
to googlecl...@googlegroups.com
Is there anyway that you can get an event identification from an invent in your calendar. I am trying to get an ICS generated by using URL so that I can adjust it so that I can have the event only occur on weekdays using the following method:

http://google.com/calendar/ical/[calendar ID]/private/full/[eventID].ics

how to find eventID?

Thanks,
Tamer

Gabriel Bakker

unread,
Apr 26, 2014, 11:58:37 AM4/26/14
to googlecl...@googlegroups.com
In my situation, I was unable to use the API directly, because it doesn't integrate with the language i'm working in (which is called Business Rules). There is no way to call a general API like that, though its easy to run a command line program. Thats why i looked at GoogleCL in the first place.

So, in the end, my only option for using the API directly, would be to write my own GoogleCL that properly handles events. Unfortunately, for you, I didn't, and the googlecl they offer won't give you the event ID at all.

I ended up solving my problem by saving not the event ID, but saving every detail of the event, into my database, whenever I use GoogleCL to add an event to the google calendar. Then, if I need to delete that event later, I can use every single detail of the event together to get a description of the event that GoogleCL will accept, that only identifies one single event ever.

Gabriel


--
You received this message because you are subscribed to a topic in the Google Groups "GoogleCL Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/googlecl-discuss/TW4Js73gPk4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to googlecl-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages