nicmart-dev / linguistnow

LinguistNow simplifies the hassle of finding available linguists for translation projects.
https://linguistnow.netlify.app
1 stars 1 forks source link

Select Calendars #18

Closed nicmart-dev closed 1 month ago

nicmart-dev commented 1 month ago

Display the list of available calendars to the user and allow them to select the ones they are interested in, using the access token from #17.

nicmart-dev commented 1 month ago
const listCalendars = async (accessToken) => {
  const calendar = google.calendar({ version: 'v3', auth: accessToken });

  const calendarList = await calendar.calendarList.list();
  return calendarList.data.items;
};
nicmart-dev commented 1 month ago

Alternative possible solution, still not involving n8n, where user can log in to select their calendars: https://blockchain.oodles.io/dev-blog/integrating-google-calendar-api-into-react-application/

nicmart-dev commented 1 month ago

Merged with #17