Get Holidays List of a Country from Google Calendar API

Mohammed Safeer picture Mohammed Safeer · Jun 14, 2015 · Viewed 46.7k times · Source

I want to extract some country's holiday list from Google Calendar API using JavaScript.

Is it Possible? How Can I do this?

Answer

Flames picture Flames · May 4, 2017

Yes, using google api you can do that.

  • Create an API app in google developer account .https://console.developers.google.com
  • From the "Credentials" tab you can create an API key, you get something like this "AIzaSyBcOT_DpEQysiwFmmmZXupKpnrOdJYAhhM"
  • Then you can access holiday calender using this url

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