Get Holidays from the Google Calendar API

I want to extract any holiday list from the Google Calendar API using JavaScript.

Is it possible? How can i do this?

+4
source share
1 answer

Yes, using google api you can do it.

  • Create an API application in your Google Developer account. https://console.developers.google.com
  • On the Credentials tab, you can create an API key, something like this "AIzaSyBcOT_DpEQysiwFmmmZXupKpnrOdJYAhhM"
  • You can then access the holiday calendar using this URL

https://www.googleapis.com/calendar/v3/calendars/en.uk%40holiday.calendar.google.com/events?key=yourAPIKey

+3

All Articles