How can I use google calendar api in my site?

I want to integrate google calendar api with my site so the users can add and edit events in there calendars

It is not possible without server-side code, so you’ll need to use a third-party service that allows users to authenticate with Google.

you mean service like zapier?

Nope, Zapier doesn’t handle Google auth per user