Google doesn't supply you with an available slot object. There are just the scheduled events.
Two options are: 1) create appointment for all of your available slots and somehow mark them as unavailable when a user selects them, or 2) programatically create some structure that understands when you could be available and subtracts you existing appointments from that. Ray On Dec 22, 2008, at 8:57 AM, Lucky Pinup wrote: > > I am trying to build a form in which a user can book a date with me. I > only want to allow them to select dates and times that my Google > calendar shows as available. Ideally they would choose a pop-up > calendar with available dates (like they have on travel sites) and > then they could choose an available time. > > Any help is much appreciated! > > Brent > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
