api call for google extension