Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7416583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:31:36+00:00 2026-05-29T07:31:36+00:00

I found simple PHP class for Google Calendar API (v2.6). https://github.com/montania/Google-Calendar-API-PHP-Class And there is

  • 0

I found simple PHP class for Google Calendar API (v2.6).

https://github.com/montania/Google-Calendar-API-PHP-Class

And there is function updateEvent($handle, $id, $etag, $json) {…}

/**
* Method to update an event in the calendar. 
  If $etag is submitted it won't update your event if it has been updated since 
  you last retreived it
* @param string $handle    E-mail or handle to identify the calendar
* @param string $id        The id of the event
* @param string $etag      The e-tag of the event (optional)
* @param string $json      The complete json code from the event that you've 
                           retrieved with the changes that you want
* @return bool|object      Returns false on failure and object on success
*/ 

What I should put into to $json parameter ?
Can someone give me code example ?

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T07:31:37+00:00Added an answer on May 29, 2026 at 7:31 am

    The $json parameter should include the JSON formatted edited event, from the response you got when you retrieved the calendar event.

    This is the steps you need to take to be able to update an event

    1. Get the current event from the calendar using the getEvents() or getEvent() method.
    2. Update the returned object’s properties to reflect the changes you want to do to the event
    3. Encode the object in JSON format using json_encode() and pass it back to the updateEvent() method

    The Google Calendar API documentation explains this as well: http://code.google.com/apis/calendar/data/2.0/developers_guide_protocol.html#UpdatingEvents

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to implement the simple-linkedinphp library (it's found at http://code.google.com/p/simple-linkedinphp/ ) It runs
Simple question, but I haven't found a good explanation on google. When using Set
Is there a simple way, without .NET? I've found some libraries but none for
I'm trying to follow this simple examples given in the google web store API
I am using a UI component from J2ME Polish. I found a simple bug
I've found plenty of simple, cheap solutions for recording composite video sources to my
I found an odd problem when I run a simple csh script on Solaris.
Hopefully a simple question although one I have found impossible to answer myself using
should be simple right? but have not found any anwsers :
I've made a very simple aspect, and found a problem when debugging it (see

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.