Google Calender API OAuth 2.0 Ionic Framework

Is anyone worked on Google Calendar API to sync events in google calendar? I’ve Ionic 4 application where i am creating events and trying to sync in google calendar but not able to sync it.