I want a PHP script that adds one event into Google Calendar.
The data I need to enter are What, Where, When, Description, Privacy, the calendar the event belongs to, and any other field that requires to be sent along with the event so that it can be created, i.e. those that would have no default value and can't be omitted.
This requires NO design. All what the script should return is the event ID of the event if it was created successfully, or an error if it was not.