Modifying events with the Google Calendar API

I am trying to work out how I can trigger a new event to repeat or write a new event, like the video above Its looks like you can do it somehow.

This is my project I am working now what I will be using its for

Thanks in advance
Aaron